Part Number Hot Search : 
DV301 6B27302 GMRB6 40T03G CM124 WM8727 1102V 12122
Product Description
Full Text Search
 

To Download XRT86L30 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 PRELIMINARY
PRELIMINARY
MAY 2004
XRT86L30
REV. P1.0.1
SINGLE T1/E1/J1 FRAMER/LIU COMBO
write the contents into the Receive HDLC buffers. The framer also contains a Transmit and Overhead Data Input port, which permits Data Link Terminal Equipment direct access to the outbound T1/E1/J1 frames. Likewise, a Receive Overhead output data port permits Data Link Terminal Equipment direct access to the Data Link bits of the inbound T1/E1/J1 frames. The XRT86L30 fully meets all of the latest T1/E1/J1 specifications: ANSI T1/E1.107-1988, ANSI T1/ E1.403-1995, ANSI T1/E1.231-1993, ANSI T1/ E1.408-1990, AT&T TR 62411 (12-90) TR54016, and ITU G-703, G.704, G706 and G.733, AT&T Pub. 43801, and ETS 300 011, 300 233, JT G.703, JT G.704, JT G706, I.431. Extensive test and diagnostic functions include Loop-backs, Boundary scan, Pseudo Random bit sequence (PRBS) test pattern generation, Performance Monitor, Bit Error Rate (BER) meter, forced error insertion, and LAPD unchannelized data payload processing according to ITU-T standard Q.921. Applications and Features (next page)
GENERAL DESCRIPTION
The XRT86L30 is a single channel 1.544 Mbit/s or 2.048 Mbit/s DS1/E1/J1 framer and LIU integrated solution featuring R3 technology (Relayless, Reconfigurable, Redundancy). The physical interface is optimized with internal impedance, and with the patented pad structure, the XRT86L30 provides protection from power failures and hot swapping. The XRT86L30 contains an integrated DS1/E1/J1 framer and LIU which provide DS1/E1/J1 framing and error accumulation in accordance with ANSI/ITU_T specifications. The framer has a framing synchronizer and transmit-receive slip buffers. The slip buffers can be independently enabled or disabled as required and can be configured to frame to the common DS1/ E1/J1 signal formats. The Framer block contains a Transmit and Receive T1/E1/J1 Framing function. There are 3 Transmit HDLC controllers which encapsulate contents of the Transmit HDLC buffers into LAPD Message frames. There are 3 Receive HDLC controllers which extract the payload content of Receive LAPD Message frames from the incoming T1/E1/J1 data stream and
FIGURE 1. XRT86L30 1-CHANNEL DS1 (T1/E1/J1) FRAMER/LIU COMBO
External Data Link Controller
Local PCM Highway
XRT86L30
Tx Overhead In
Rx Overhead Out
1:2 Turns Ratio TTIP
Tx Serial Data In
Tx Serial Clock
2-Frame Slip Buffer Elastic Store
Tx Framer
Tx LIU Interface LLB LB
TRING
ST-BUS
Rx Serial Data Out
Rx Serial Clock
2-Frame Slip Buffer Elastic Store
RTIP
1:1 Turns Ratio
Rx Framer
Rx LIU Interface
RRING
PRBS Generator & Analyser
Performance Monitor
HDLC/LAPD Controllers
LIU & Loopback Control
RxLOS
8kHz sync OSC Signaling & Alarms JTAG DMA Interface
Line Side
Microprocessor Interface
Back Plane 1.544-16.384 Mbit/s
3
System (Terminal) Side
TxON Memory
INT
D[7:0]
P A[11:0] Select
4 WR ALE_AS RD RDY_DTACK
Intel/Motorola P Configuration, Control & Status Monitor
Exar Corporation 48720 Kato Road, Fremont CA, 94538 * (510) 668-7000 * FAX (510) 668-7017 * www.exar.com
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
* 3 Integrated HDLC controllers for transmit and receive, each controller having two 96-byte buffers (buffer 0 / buffer 1) * HDLC Controllers Support SS7 * Timeslot assignable HDLC * V5.1 or V5.2 Interface * Automatic Performance Report Generation (PMON Status) can be inserted into the transmit LAPD interface every 1 second or for a single transmission * Alarm Indication Signal with Customer Installation signature (AIS-CI) * Remote Alarm Indication with Customer Installation (RAI-CI) * Gapped Clock interface mode for Transmit and Receive. * Intel/Motorola and Power PC interfaces for configuration, control and status monitoring * Parallel search algorithm for fast frame synchronization * Wide choice of T1 framing structures: SF/D4, ESF, SLC(R)96, T1DM and N-Frame (non-signaling) * Direct access to D and E channels for fast transmission of data link information * PRBS, QRSS, and Network Loop Code generation and detection * Programmable Interrupt output pin * Supports programmed I/O and DMA modes of Read-Write access * Each framer block encodes and decodes the T1/ E1/J1 Frame serial data * Detects and forces Red (SAI), Yellow (RAI) and Blue (AIS) Alarms * Detects OOF, LOF, LOS errors and COFA conditions * Loopbacks: Local (LLB) and Line remote (LB) * Facilitates Inverse Multiplexing for ATM * Performance monitor with one second polling * Boundary scan (IEEE 1149.1) JTAG test port * Accepts external 8kHz Sync reference * 3.3V CMOS operation with 5V tolerant inputs * 128-pin TQFP package with -40C to +85C operation
APPLICATIONS * High-Density T1/E1/J1 interfaces for Multiplexers, Switches, LAN Routers and Digital Modems * SONET/SDH terminal or Add/Drop multiplexers (ADMs) * T1/E1/J1 add/drop multiplexers (MUX) * Channel Service Units (CSUs): T1/E1/J1 and Fractional T1/E1/J1 * Digital Access Cross-connect System (DACs) * Digital Cross-connect Systems (DCS) * Frame Relay Switches and Access Devices (FRADS) * ISDN Primary Rate Interfaces (PRA) * PBXs and PCM channel bank * T3 channelized access concentrators and M13 MUX * Wireless base stations * ATM equipment with integrated DS1 interfaces * Multichannel DS1 Test Equipment * T1/E1/J1 Performance Monitoring * Voice over packet gateways * Routers FEATURES * Full duplex DS1 Tx and Rx Framer/LIU * Two 512-bit (two-frame) elastic store, PCM frame slip buffers (FIFO) on TX and Rx provide up to 8.192 MHz asynchronous back plane connections with jitter and wander attenuation * Supports input PCM and signaling data at 1.544, 2.048, 4.096 and 8.192 Mbits. Also supports 4channel multiplexed 12.352/16.384 (HMVIP/H.100) Mbit/s on the back plane bus (with stuffed don't care bits for the other 3 channels) * Programmable output clocks for Fractional T1/E1/ J1 * Supports Channel Associated Signaling (CAS) * Supports Common Channel Signalling (CCS) * Supports ISDN Primary Rate Interface (ISDN PRI) signaling * Extracts and inserts robbed bit signaling (RBS)
2
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
ORDERING INFORMATION
PART NUMBER XRT86L30IB PACKAGE 128 TQFP
REV. P1.0.1
OPERATING TEMPERATURE RANGE -40C to +85C
3
XRT86L30
REV. P1.0.1
PRELIMINARY
SINGLE T1/E1/J1 FRAMER/LIU COMBO
LIST OF PARAGRAPHS
1.0 PIN LIST .................................................................................................................................................10 2.0 PIN DESCRIPTIONS ..............................................................................................................................11 3.0 MICROPROCESSOR INTERFACE BLOCK ..........................................................................................24
3.0.1 THE MICROPROCESSOR INTERFACE BLOCK SIGNALS ....................................................................................... 24
3.1 INTEL MODE PROGRAMMED I/O ACCESS (ASYNCHRONOUS) .................................................................. 27 3.2 MOTOROLA MODE PROGRAMMED I/O ACCESS (SYNCHRONOUS) .......................................................... 29
3.2.1 DMA READ/WRITE OPERATIONS .............................................................................................................................. 31
3.3 MEMORY MAPPED I/O ADDRESSING ............................................................................................................ 33 3.4 DESCRIPTION OF THE CONTROL REGISTERS ............................................................................................ 34
3.4.1 REGISTER DESCRIPTIONS ......................................................................................................................................... 40
3.5 PROGRAMMING THE LINE INTERFACE UNIT (LIU SECTION) ................................................................... 124 3.6 THE INTERRUPT STRUCTURE WITHIN THE FRAMER ............................................................................... 143
3.6.1 CONFIGURING THE INTERRUPT SYSTEM, AT THE FRAMER LEVEL .................................................................. 146
4.0 GENERAL DESCRIPTION AND INTERFACE .....................................................................................149
4.1 PHYSICAL INTERFACE .................................................................................................................................. 149 4.2 R3 TECHNOLOGY (RELAYLESS / RECONFIGURABLE / REDUNDANCY) ................................................ 150
4.2.1 LINE CARD REDUNDANCY ....................................................................................................................................... 150 4.2.2 TYPICAL REDUNDANCY SCHEMES ........................................................................................................................ 150 4.2.3 1:1 AND 1+1 REDUNDANCY WITHOUT RELAYS .................................................................................................... 150 4.2.4 TRANSMIT INTERFACE WITH 1:1 AND 1+1 REDUNDANCY .................................................................................. 150 4.2.5 RECEIVE INTERFACE WITH 1:1 AND 1+1 REDUNDANCY ..................................................................................... 151
4.3 POWER FAILURE PROTECTION ................................................................................................................... 152 4.4 OVERVOLTAGE AND OVERCURRENT PROTECTION ................................................................................ 152 4.5 NON-INTRUSIVE MONITORING ..................................................................................................................... 152 4.6 T1/E1 SERIAL PCM INTERFACE ................................................................................................................... 153 4.7 T1/E1 FRACTIONAL INTERFACE .................................................................................................................. 154 4.8 T1/E1 TIME SLOT SUBSTITUTION AND CONTROL ..................................................................................... 155 4.9 ROBBED BIT SIGNALING/CAS SIGNALING ................................................................................................. 156 4.10 OVERHEAD INTERFACE .............................................................................................................................. 158 4.11 FRAMER BYPASS MODE ............................................................................................................................. 159 4.12 HIGH-SPEED NON-MULTIPLEXED INTERFACE ........................................................................................ 160 4.13 HIGH-SPEED MULTIPLEXED INTERFACE ................................................................................................. 161
5.0 LOOPBACK MODES OF OPERATION ...............................................................................................162
5.1 LIU PHYSICAL INTERFACE LOOPBACK DIAGNOSTICS ............................................................................ 162
5.1.1 LOCAL ANALOG LOOPBACK .................................................................................................................................. 162 5.1.2 REMOTE LOOPBACK ................................................................................................................................................ 162 5.1.3 DIGITAL LOOPBACK ................................................................................................................................................. 163 5.1.4 DUAL LOOPBACK ..................................................................................................................................................... 163 5.1.5 FRAMER REMOTE LINE LOOPBACK ...................................................................................................................... 163 5.1.6 FRAMER PAYLOAD LOOPBACK ............................................................................................................................. 164 5.1.7 FRAMER LOCAL LOOPBACK ................................................................................................................................... 164
6.0 HDLC CONTROLLERS AND LAPD MESSAGES ...............................................................................165
6.1 PROGRAMMING SEQUENCE FOR SENDING LESS THAN 96-BYTE MESSAGES .................................... 165 6.2 PROGRAMMING SEQUENCE FOR SENDING LARGE MESSAGES ........................................................... 165 6.3 PROGRAMMING SEQUENCE FOR RECEIVING LAPD MESSAGES ........................................................... 165 6.4 SS7 (SIGNALING SYSTEM NUMBER 7) FOR ESF IN DS1 ONLY ................................................................ 166 6.5 DS1/E1 DATALINK TRANSMISSION USING THE HDLC CONTROLLERS ................................................. 167 6.6 TRANSMIT BOS (BIT ORIENTED SIGNALING) PROCESSOR ..................................................................... 167
6.6.1 DESCRIPTION OF BOS .............................................................................................................................................. 167 6.6.2 PRIORITY CODEWORD MESSAGE .......................................................................................................................... 167 6.6.3 COMMAND AND RESPONSE INFORMATION .......................................................................................................... 167
6.7 TRANSMIT MOS (MESSAGE ORIENTED SIGNALING) PROCESSOR ........................................................ 168
6.7.1 DISCUSSION OF MOS ............................................................................................................................................... 168 6.7.2 PERIODIC PERFORMANCE REPORT ...................................................................................................................... 168 6.7.3 TRANSMISSION-ERROR EVENT .............................................................................................................................. 169 6.7.4 PATH AND TEST SIGNAL IDENTIFICATION MESSAGE ......................................................................................... 169 6.7.5 FRAME STRUCTURE ................................................................................................................................................. 169 6.7.6 FLAG SEQUENCE ...................................................................................................................................................... 169 6.7.7 ADDRESS FIELD ........................................................................................................................................................ 170 6.7.8 ADDRESS FIELD EXTENSION BIT (EA) ................................................................................................................... 170
I
PRELIMINARY
SINGLE T1/E1/J1 FRAMER/LIU COMBO
XRT86L30
REV. P1.0.1
6.7.9 COMMAND OR RESPONSE BIT (C/R) ...................................................................................................................... 170 6.7.10 SERVICE ACCESS POINT IDENTIFIER (SAPI) ...................................................................................................... 170 6.7.11 TERMINAL ENDPOINT IDENTIFIER (TEI) ............................................................................................................... 170 6.7.12 CONTROL FIELD ...................................................................................................................................................... 170 6.7.13 FRAME CHECK SEQUENCE (FCS) FIELD ............................................................................................................. 170 6.7.14 TRANSPARENCY (ZERO STUFFING) ..................................................................................................................... 171
6.8 TRANSMIT SLC(R)96 DATA LINK CONTROLLER .......................................................................................... 172 6.9 D/E TIME SLOT TRANSMIT HDLC CONTROLLER BLOCK V5.1 OR V5.2 INTERFACE ............................ 173 6.10 AUTOMATIC PERFORMANCE REPORT (APR) .......................................................................................... 173
6.10.1 BIT VALUE INTERPRETATION ............................................................................................................................... 173
7.0 OVERHEAD INTERFACE BLOCK ...................................................................................................... 175
7.1 DS1 TRANSMIT OVERHEAD INPUT INTERFACE BLOCK .......................................................................... 175
7.1.1 DESCRIPTION OF THE DS1 TRANSMIT OVERHEAD INPUT INTERFACE BLOCK .............................................. 175 7.1.2 CONFIGURE THE DS1 TRANSMIT OVERHEAD INPUT INTERFACE MODULE AS SOURCE OF THE FACILITY DATA LINK (FDL) BITS IN ESF FRAMING FORMAT MODE ............................................................................................... 175 7.1.3 CONFIGURE THE DS1 TRANSMIT OVERHEAD INPUT INTERFACE MODULE AS SOURCE OF THE SIGNALING FRAMING (FS) BITS IN N OR SLC(R)96 FRAMING FORMAT MODE ........................................................................ 177 7.1.4 CONFIGURE THE DS1 TRANSMIT OVERHEAD INPUT INTERFACE MODULE AS SOURCE OF THE REMOTE SIGNALING (R) BITS IN T1DM FRAMING FORMAT MODE ........................................................................................... 178
7.2 DS1 RECEIVE OVERHEAD OUTPUT INTERFACE BLOCK ......................................................................... 178
7.2.1 DESCRIPTION OF THE DS1 RECEIVE OVERHEAD OUTPUT INTERFACE BLOCK ............................................. 179 7.2.2 CONFIGURE THE DS1 RECEIVE OVERHEAD OUTPUT INTERFACE MODULE AS DESTINATION OF THE FACILITY DATA LINK (FDL) BITS IN ESF FRAMING FORMAT MODE .................................................................................... 179 7.2.3 CONFIGURE THE DS1 RECEIVE OVERHEAD OUTPUT INTERFACE MODULE AS DESTINATION OF THE SIGNALING FRAMING (FS) BITS IN N OR SLC(R)96 FRAMING FORMAT MODE ........................................................................ 180 7.2.4 CONFIGURE THE DS1 RECEIVE OVERHEAD OUTPUT INTERFACE MODULE AS DESTINATION OF THE REMOTE SIGNALING (R) BITS IN T1DM FRAMING FORMAT MODE ..................................................................................... 181
7.3 E1 OVERHEAD INTERFACE BLOCK ............................................................................................................ 182 7.4 E1 TRANSMIT OVERHEAD INPUT INTERFACE BLOCK ............................................................................. 182
7.4.1 DESCRIPTION OF THE E1 TRANSMIT OVERHEAD INPUT INTERFACE BLOCK ................................................. 182 7.4.2 CONFIGURE THE E1 TRANSMIT OVERHEAD INPUT INTERFACE MODULE AS SOURCE OF THE NATIONAL BIT SEQUENCE IN E1 FRAMING FORMAT MODE .............................................................................................................. 183
7.5 E1 RECEIVE OVERHEAD INTERFACE ......................................................................................................... 185
7.5.1 DESCRIPTION OF THE E1 RECEIVE OVERHEAD OUTPUT INTERFACE BLOCK ............................................... 185 7.5.2 CONFIGURE THE E1 RECEIVE OVERHEAD OUTPUT INTERFACE MODULE AS SOURCE OF THE NATIONAL BIT SEQUENCE IN E1 FRAMING FORMAT MODE .......................................................................................................... 186
8.0 LIU TRANSMIT PATH ......................................................................................................................... 188
8.1 TRANSMIT DIAGNOSTIC FEATURES ........................................................................................................... 188
8.1.1 TAOS (TRANSMIT ALL ONES) .................................................................................................................................. 188 8.1.2 ATAOS (AUTOMATIC TRANSMIT ALL ONES) ......................................................................................................... 189 8.1.3 NETWORK LOOP UP CODE ...................................................................................................................................... 189 8.1.4 NETWORK LOOP DOWN CODE ............................................................................................................................... 189 8.1.5 QRSS GENERATION .................................................................................................................................................. 190
8.2 T1 LONG HAUL LINE BUILD OUT (LBO) ...................................................................................................... 190 8.3 T1 SHORT HAUL LINE BUILD OUT (LBO) .................................................................................................... 191
8.3.1 ARBITRARY PULSE GENERATOR ........................................................................................................................... 191 8.3.2 DMO (DIGITAL MONITOR OUTPUT) ......................................................................................................................... 192 8.3.3 TRANSMIT JITTER ATTENUATOR ........................................................................................................................... 192
8.4 LINE TERMINATION (TTIP/TRING) ................................................................................................................ 193
9.0 LIU RECEIVE PATH ............................................................................................................................ 194
9.1 LINE TERMINATION (RTIP/RRING) ............................................................................................................... 194
9.1.1 CASE 1: INTERNAL TERMINATION .......................................................................................................................... 194 9.1.2 CASE 2: INTERNAL TERMINATION WITH ONE EXTERNAL FIXED RESISTOR FOR ALL MODES .................... 194 9.1.3 EQUALIZER CONTROL ............................................................................................................................................. 195 9.1.4 CABLE LOSS INDICATOR ......................................................................................................................................... 195
9.2 RECEIVE SENSITIVITY ................................................................................................................................... 196
9.2.1 AIS (ALARM INDICATION SIGNAL) .......................................................................................................................... 196 9.2.2 NLCD (NETWORK LOOP CODE DETECTION) ......................................................................................................... 196 9.2.3 FLSD (FIFO LIMIT STATUS DETECTION) ................................................................................................................ 197 9.2.4 RECEIVE JITTER ATTENUATOR .............................................................................................................................. 197 9.2.5 RXMUTE (RECEIVER LOS WITH DATA MUTING) ................................................................................................... 197
10.0 THE E1 TRANSMIT/RECEIVE FRAMER .......................................................................................... 199
10.1 DESCRIPTION OF THE TRANSMIT/RECEIVE PAYLOAD DATA INPUT INTERFACE BLOCK ................ 199
10.1.1 BRIEF DISCUSSION OF THE TRANSMIT/RECEIVE PAYLOAD DATA INPUT INTERFACE BLOCK OPERATING AT
II
XRT86L30
REV. P1.0.1
PRELIMINARY
SINGLE T1/E1/J1 FRAMER/LIU COMBO
XRT84V24 COMPATIBLE 2.048MBIT/S MODE .......................................................................................................... 199
10.2 TRANSMIT/RECEIVE HIGH-SPEED BACK-PLANE INTERFACE ............................................................... 202
10.2.1 NON-MULTIPLEXED HIGH-SPEED MODE ............................................................................................................. 202 10.2.2 MULTIPLEXED HIGH-SPEED MODE ...................................................................................................................... 205
10.3 BRIEF DISCUSSION OF COMMON CHANNEL SIGNALING IN E1 FRAMING FORMAT .......................... 211 10.4 BRIEF DISCUSSION OF CHANNEL ASSOCIATED SIGNALING IN E1 FRAMING FORMAT ................... 211 10.5 INSERT/EXTRACT SIGNALING BITS FROM TSCR REGISTER ................................................................. 211 10.6 INSERT/EXTRACT SIGNALING BITS FROM TXCHN[0]_N/TXSIG PIN ...................................................... 211 10.7 ENABLE CHANNEL ASSOCIATED SIGNALING AND SIGNALING DATA SOURCE CONTROL ............. 212
11.0 THE DS1 TRANSMIT/RECEIVE FRAMER ........................................................................................213
11.1 DESCRIPTION OF THE TRANSMIT/RECEIVE PAYLOAD DATA INPUT INTERFACE BLOCK ................ 213
11.1.1 BRIEF DISCUSSION OF THE TRANSMIT/RECEIVE PAYLOAD DATA INPUT INTERFACE BLOCK OPERATING AT 1.544MBIT/S MODE ..................................................................................................................................................... 213
11.2 TRANSMIT/RECEIVE HIGH-SPEED BACK-PLANE INTERFACE ............................................................... 216
11.2.1 T1 TRANSMIT/RECEIVE INTERFACE - MVIP 2.048 MHZ ...................................................................................... 216 11.2.2 NON-MULTIPLEXED HIGH-SPEED MODE ............................................................................................................. 217 11.2.3 MULTIPLEXED HIGH-SPEED MODE ...................................................................................................................... 219
11.3 BRIEF DISCUSSION OF ROBBED-BIT SIGNALING IN DS1 FRAMING FORMAT .................................... 225
11.3.1 CONFIGURE THE FRAMER TO TRANSMIT ROBBED-BIT SIGNALING ............................................................... 225 11.3.2 INSERT SIGNALING BITS FROM TSCR REGISTER .............................................................................................. 225 11.3.3 INSERT SIGNALING BITS FROM TXSIG_N PIN ..................................................................................................... 226
12.0 ALARMS AND ERROR CONDITIONS ..............................................................................................228
12.1 AIS ALARM .................................................................................................................................................... 228 12.2 RED ALARM .................................................................................................................................................. 230 12.3 YELLOW ALARM .......................................................................................................................................... 231 12.4 BIPOLAR VIOLATION ................................................................................................................................... 233 12.5 E1 BRIEF DISCUSSION OF ALARMS AND ERROR CONDITIONS ........................................................... 235
12.5.1 HOW TO CONFIGURE THE FRAMER TO TRANSMIT AIS .................................................................................... 240 12.5.2 HOW TO CONFIGURE THE FRAMER TO GENERATE RED ALARM ................................................................... 241 12.5.3 HOW TO CONFIGURE THE FRAMER TO TRANSMIT YELLOW ALARM ............................................................. 241 12.5.4 TRANSMIT YELLOW ALARM .................................................................................................................................. 242 12.5.5 TRANSMIT CAS MULTI-FRAME YELLOW ALARM ............................................................................................... 242
12.6 T1 BRIEF DISCUSSION OF ALARMS AND ERROR CONDITIONS ............................................................ 243
12.6.1 HOW TO CONFIGURE THE FRAMER TO TRANSMIT AIS .................................................................................... 246 12.6.2 HOW TO CONFIGURE THE FRAMER TO GENERATE RED ALARM ................................................................... 247 12.6.3 HOW TO CONFIGURE THE FRAMER TO TRANSMIT YELLOW ALARM ............................................................. 247 12.6.4 TRANSMIT YELLOW ALARM IN SF MODE ............................................................................................................ 248 12.6.5 TRANSMIT YELLOW ALARM IN ESF MODE .......................................................................................................... 248 12.6.6 TRANSMIT YELLOW ALARM IN N MODE .............................................................................................................. 248 12.6.7 TRANSMIT YELLOW ALARM IN T1DM MODE ....................................................................................................... 248
13.0 PERFORMANCE MONITORING (PMON) .........................................................................................251
13.1 RECEIVE LINE CODE VIOLATION COUNTER (16-BIT) .............................................................................. 251 13.2 16-BIT RECEIVE FRAME ALIGNMENT ERROR COUNTER (16-BIT) ......................................................... 251 13.3 RECEIVE SEVERELY ERRORED FRAME COUNTER (8-BIT) .................................................................... 251 13.4 RECEIVE CRC-6/4 BLOCK ERROR COUNTER (16-BIT) ............................................................................ 251 13.5 RECEIVE FAR-END BLOCK ERROR COUNTER (16-BIT) .......................................................................... 251 13.6 RECEIVE SLIP COUNTER (8-BIT) ................................................................................................................ 251 13.7 RECEIVE LOSS OF FRAME COUNTER (8-BIT) .......................................................................................... 251 13.8 RECEIVE CHANGE OF FRAME ALIGNMENT COUNTER (8-BIT) .............................................................. 251 13.9 FRAME CHECK SEQUENCE ERROR COUNTERS 1, 2, AND 3 (8-BIT EACH) ......................................... 251 13.10 PRBS ERROR COUNTER (16-BIT) ............................................................................................................. 251 13.11 TRANSMIT SLIP COUNTER (8-BIT) ........................................................................................................... 251 13.12 EXCESSIVE ZERO VIOLATION COUNTER (16-BIT) ................................................................................. 252
14.0 APPENDIX A: DS-1/E1 FRAMING FORMATS ..................................................................................253
14.1 THE E1 FRAMING STRUCTURE .................................................................................................................. 253
14.1.1 FAS FRAME .............................................................................................................................................................. 253 14.1.2 NON-FAS FRAME ..................................................................................................................................................... 254
14.2 THE E1 MULTI-FRAME STRUCTURE .......................................................................................................... 255
14.2.1 THE CRC MULTI-FRAME STRUCTURE .................................................................................................................. 255 14.2.2 CAS MULTI-FRAMES AND CHANNEL ASSOCIATED SIGNALING ...................................................................... 256
14.3 THE DS1 FRAMING STRUCTURE ................................................................................................................ 258 14.4 T1 SUPER FRAME FORMAT (SF) ................................................................................................................ 259
III
PRELIMINARY
SINGLE T1/E1/J1 FRAMER/LIU COMBO
XRT86L30
REV. P1.0.1
14.5 T1 EXTENDED SUPERFRAME FORMAT (ESF) .......................................................................................... 261 14.6 T1 NON-SIGNALING FRAME FORMAT ....................................................................................................... 263 14.7 T1 DATA MULTIPLEXED FRAMING FORMAT (T1DM) ............................................................................... 263 14.8 SLC-96 FORMAT (SLC-96) ........................................................................................................................... 264
IV
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
LIST OF FIGURES
Figure 1.: XRT86L30 1-channel DS1 (T1/E1/J1) Framer/LIU Combo ............................................................................... 1 Figure 2.: Simplified Block Diagram of the Microprocessor Interface Block .................................................................... 24 Figure 3.: Intel P Interface Signals During Programmed I/O Read and Write Operations ............................................. 28 Figure 4.: Motorola P Interface Signals During Programmed I/O Read and Write Operations ...................................... 30 Figure 5.: Motorola 68K P Interface Signals During Programmed I/O Read and Write Operations .............................. 31 Figure 6.: DMA Mode for the XRT86L30 and a Microprocessor ...................................................................................... 32 Figure 7.: LIU Transmit Connection Diagram Using Internal Termination ..................................................................... 149 Figure 8.: LIU Receive Connection Diagram Using Internal Termination ..................................................................... 149 Figure 9.: Simplified Block Diagram of the Transmit Interface for 1:1 and 1+1 Redundancy ........................................ 150 Figure 10.: Simplified Block Diagram of the Receive Interface for 1:1 and 1+1 Redundancy ....................................... 151 Figure 11.: Simplified Block Diagram of a Non-Intrusive Monitoring Application ........................................................... 152 Figure 12.: Transmit T1/E1 Serial PCM Interface .......................................................................................................... 153 Figure 13.: Receive T1/E1 Serial PCM Interface ........................................................................................................... 153 Figure 14.: T1 Fractional Interface ................................................................................................................................. 154 Figure 15.: T1/E1 Time Slot Substitution and Control .................................................................................................... 155 Figure 16.: Robbed Bit Signaling / CAS Signaling ......................................................................................................... 156 Figure 17.: ESF / CAS External Signaling Bus .............................................................................................................. 156 Figure 18.: SF / SLC-96 or 4-code Signaling in ESF / CAS External Signaling Bus ...................................................... 157 Figure 19.: T1/E1 Overhead Interface ........................................................................................................................... 158 Figure 20.: T1 External Overhead Datalink Bus ............................................................................................................ 158 Figure 21.: E1 Overhead External Datalink Bus ............................................................................................................ 159 Figure 22.: Simplified Block Diagram of the Framer Bypass Mode ............................................................................... 159 Figure 23.: T1 High-Speed Non-Multiplexed Interface ................................................................................................... 160 Figure 24.: E1 High-Speed Non-Multiplexed Interface .................................................................................................. 160 Figure 25.: Transmit High-Speed Bit Multiplexed Block Diagram .................................................................................. 161 Figure 26.: Receive High-Speed Bit Multiplexed Block Diagram ................................................................................... 161 Figure 27.: Simplified Block Diagram of Local Analog Loopback .................................................................................. 162 Figure 28.: Simplified Block Diagram of Remote Loopback ........................................................................................... 162 Figure 29.: Simplified Block Diagram of Digital Loopback ............................................................................................. 163 Figure 30.: Simplified Block Diagram of Dual Loopback ................................................................................................ 163 Figure 31.: Simplified Block Diagram of the Framer Remote Line Loopback ................................................................ 163 Figure 32.: Simplified Block Diagram of the Framer Local Loopback ............................................................................ 164 Figure 33.: Simplified Block Diagram of the Framer Local Loopback ............................................................................ 164 Figure 34.: HDLC Controllers ......................................................................................................................................... 165 Figure 35.: LAPD Frame Structure ................................................................................................................................ 168 Figure 36.: Block Diagram of the DS1 Transmit Overhead Input Interface of the XRT86L30 ....................................... 175 Figure 37.: DS1 Transmit Overhead Input Interface Timing in ESF Framing Format mode .......................................... 177 Figure 38.: DS1 Transmit Overhead Input Timing in N or SLC(R)96 Framing Format Mode .......................................... 178 Figure 39.: DS1 Transmit Overhead Input Interface module in T1DM Framing Format mode ...................................... 178 Figure 40.: Block Diagram of the DS1 Receive Overhead Output Interface of XRT86L30 ............................................ 179 Figure 41.: DS1 Receive Overhead Output Interface module in ESF framing format mode ......................................... 180 Figure 42.: DS1 Receive Overhead Output Interface Timing in N or SLC(R)96 Framing Format mode .......................... 181 Figure 43.: DS1 Receive Overhead Output Interface Timing in T1DM Framing Format mode ..................................... 182 Figure 44.: Block Diagram of the E1 Transmit Overhead Input Interface of XRT86L30 ................................................ 183 Figure 45.: E1 Transmit Overhead Input Interface Timing ............................................................................................. 185 Figure 46.: Block Diagram of the E1 Receive Overhead Output Interface of XRT86L30 .............................................. 185 Figure 47.: E1 Receive Overhead Output Interface Timing ........................................................................................... 187 Figure 48.: TAOS (Transmit All Ones) ........................................................................................................................... 188 Figure 49.: Simplified Block Diagram of the ATAOS Function ....................................................................................... 189 Figure 50.: Network Loop Up Code Generation ............................................................................................................. 189 Figure 51.: Network Loop Down Code Generation ........................................................................................................ 189 Figure 52.: Long Haul Line Build Out with -7.5dB Attenuation ....................................................................................... 190 Figure 53.: Long Haul Line Build Out with -15dB Attenuation ........................................................................................ 190 Figure 54.: Long Haul Line Build Out with -22.5dB Attenuation ..................................................................................... 191 Figure 55.: Arbitrary Pulse Segment Assignment .......................................................................................................... 192 Figure 56.: Typical Connection Diagram Using Internal Termination ............................................................................ 193 Figure 57.: Typical Connection Diagram Using Internal Termination ........................................................................... 194 Figure 58.: Typical Connection Diagram Using One External Fixed Resistor ............................................................... 195
A
PRELIMINARY
REV. P1.0.1
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
Figure 59.: Simplified Block Diagram of the Equalizer and Peak Detector .................................................................... 195 Figure 60.: Simplified Block Diagram of the Cable Loss Indicator ................................................................................. 195 Figure 61.: Test Configuration for Measuring Receive Sensitivity ................................................................................. 196 Figure 62.: Process Block for Automatic Loop Code Detection ..................................................................................... 197 Figure 63.: Simplified Block Diagram of the RxMUTE Function .................................................................................... 198 Figure 64.: Interfacing the Transmit Path to local terminal equipment .......................................................................... 199 Figure 65.: Interfacing the Receive Path to local terminal equipment ........................................................................... 200 Figure 66.: Waveforms for connecting the Transmit Payload Data Input Interface Block to local Terminal Equipment 200 Figure 67.: Waveforms for connecting the Receive Payload Data Input Interface Block to local Terminal Equipment . 201 Figure 68.: Transmit Non-Multiplexed High-Speed Connection to local terminal equipment using MVIP 2.048Mbit/s, 4.096Mbit/s, or 8.192Mbit/s ............................................................................................................................. 202 Figure 69.: Receive Non-Multiplexed High-Speed Connection to local terminal equipment using MVIP 2.048Mbit/s, 4.096Mbit/s, or 8.192Mbit/s ............................................................................................................................. 203 Figure 70.: Waveforms for Connecting the Transmit Non-Multiplexed High-Speed Input Interface at MVIP 2.048Mbit/s, 4.096Mbit/s, and 8.192Mbit/s .......................................................................................................................... 203 Figure 71.: Waveforms for Connecting the Receive Non-Multiplexed High-Speed Input Interface at MVIP 2.048Mbit/s, 4.096Mbit/s, and 8.192Mbit/s .......................................................................................................................... 204 Figure 72.: Interfacing XRT86L30 Transmit to local terminal equipment using 16.384Mbit/s, HMVIP 16.384Mbit/s, and H.100 16.384Mbit/s .................................................................................................................................................... 207 Figure 73.: Interfacing XRT86L30 Receive to local terminal equipment using 16.384Mbit/s, HMVIP 16.384Mbit/s, and H.100 16.384Mbit/s .................................................................................................................................................... 208 Figure 74.: Waveforms for Connecting the Transmit Multiplexed High-Speed Input Interface at HMVIP And H.100 16.384Mbit/s mode .......................................................................................................................................... 209 Figure 75.: Waveforms for Connecting the Receive Multiplexed High-Speed Input Interface at HMVIP 16.384Mbit/s mode 209 Figure 76.: Waveforms for Connecting the Receive Multiplexed High-Speed Input Interface at H.100 16.384Mbit/s mode 210 Figure 77.: Timing Diagram of the TxSIG Input ............................................................................................................. 211 Figure 78.: Timing Diagram of the RxSIG Output .......................................................................................................... 212 Figure 79.: Interfacing the Transmit Path to local terminal equipment .......................................................................... 213 Figure 80.: Interfacing the Receive Path to local terminal equipment ........................................................................... 214 Figure 81.: Waveforms for connecting the Transmit Payload Data Input Interface Block to local Terminal Equipment 214 Figure 82.: Waveforms for connecting the Receive Payload Data Input Interface Block to local Terminal Equipment . 215 Figure 83.: Transmit Non-Multiplexed High-Speed Connection to local terminal equipment using MVIP 2.048Mbit/s, 4.096Mbit/s, or 8.192Mbit/s ............................................................................................................................. 217 Figure 84.: Receive Non-Multiplexed High-Speed Connection to local terminal equipment using MVIP 2.048Mbit/s, 4.096Mbit/s, or 8.192Mbit/s ............................................................................................................................. 217 Figure 85.: Waveforms for Connecting the Transmit Non-Multiplexed High-Speed Input Interface at MVIP 2.048Mbit/s, 4.096Mbit/s, and 8.192Mbit/s .......................................................................................................................... 218 Figure 86.: Waveforms for Connecting the Receive Non-Multiplexed High-Speed Input Interface at MVIP 2.048Mbit/s, 4.096Mbit/s, and 8.192Mbit/s .......................................................................................................................... 218 Figure 87.: Interfacing XRT86L30 Transmit to local terminal equipment using 16.384Mbit/s, HMVIP 16.384Mbit/s, and H.100 16.384Mbit/s .................................................................................................................................................... 221 Figure 88.: Interfacing XRT86L30 Receive to local terminal equipment using 16.384Mbit/s, HMVIP 16.384Mbit/s, and H.100 16.384Mbit/s .................................................................................................................................................... 222 Figure 89.: Waveforms for Connecting the Transmit Multiplexed High-Speed Input Interface at 12.352Mbit/s mode .. 222 Figure 90.: Waveforms for Connecting the Transmit Multiplexed High-Speed Input Interface at 16.384Mbit/s mode .. 223 Figure 91.: Waveforms for Connecting the Transmit Multiplexed High-Speed Input Interface at HMVIP and H.100 16.384Mbit/s mode .......................................................................................................................................... 223 Figure 92.: Waveforms for Connecting the Receive Multiplexed High-Speed Input Interface at 12.352Mbit/s mode ... 223 Figure 93.: Waveforms for Connecting the Receive Multiplexed High-Speed Input Interface at 16.384Mbit/s mode ... 224 Figure 94.: Waveforms for Connecting the Receive Multiplexed High-Speed Input Interface at HMVIP 16.384Mbit/s mode 224 Figure 95.: Waveforms for Connecting the Receive Multiplexed High-Speed Input Interface at H.100 16.384Mbit/s mode 224 Figure 96.: Timing Diagram of the TxSig_n Input .......................................................................................................... 227 Figure 97.: Simple Diagram of E1 system model .......................................................................................................... 235 Figure 98.: Generation of Yellow Alarm by the Repeater upon detection of line failure ................................................ 236 Figure 99.: Generation of AIS by the Repeater upon detection of line failure ............................................................... 237 Figure 100.: Generation of Yellow Alarm by the CPE upon detection of AIS originated by the Repeater ..................... 238
B
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
Figure 101.: Generation of CAS Multi-frame Yellow Alarm and AIS16 by the Repeater ............................................... 239 Figure 102.: Generation of CAS Multi-frame Yellow Alarm by the CPE upon detection of "AIS16" pattern sent by the Repeater 240 Figure 103.: Simple Diagram of DS1 System Model ..................................................................................................... 243 Figure 104.: Generation of Yellow Alarm by the CPE upon detection of line failure ...................................................... 244 Figure 105.: Generation of AIS by the Repeater upon detection of Yellow Alarm originated by the CPE ..................... 245 Figure 106.: Generation of Yellow Alarm by the CPE upon detection of AIS originated by the Repeater ..................... 246 Figure 107.: Single E1 Frame Diagram ......................................................................................................................... 253 Figure 108.: Frame/Byte Format of the CAS Multi-Frame Structure .............................................................................. 256 Figure 109.: E1 Frame Format ....................................................................................................................................... 257 Figure 110.: T1 Frame Format ....................................................................................................................................... 258 Figure 111.: T1 Superframe PCM Format ..................................................................................................................... 259 Figure 112.: T1 Extended Superframe Format .............................................................................................................. 261 Figure 113.: T1DM Frame Format ................................................................................................................................. 263 Figure 114.: Framer System Transmit Timing Diagram ................................................................................................. 266 Figure 115.: Framer System Receive Timing Diagram (RxSERCLK as an Output) ...................................................... 267 Figure 116.: Framer System Receive Timing Diagram (RxSERCLK as an Input) ......................................................... 268 Figure 117.: Framer System Transmit Overhead Timing Diagram ................................................................................ 269 Figure 118.: Framer System Receive Overhead Timing Diagram (RxSERCLK as an Output) ..................................... 270 Figure 119.: Framer System Receive Overhead Timing Diagram (RxSERCLK as an Input) ........................................ 270 Figure 120.: ITU G.703 Pulse Template ........................................................................................................................ 275 Figure 121.: DSX-1 Pulse Template (normalized amplitude) ......................................................................................... 276
C
PRELIMINARY
REV. P1.0.1
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
LIST OF TABLES
Table 2:: Selecting the Microprocessor Interface Mode .................................................................................................. 24 Table 3:: XRT86L30 Microprocessor Interface Signals that exhibit constant roles in both Intel and Motorola Modes .... 25 Table 4:: Intel mode: Microprocessor Interface Signals ................................................................................................... 25 Table 5:: Motorola Mode: Microprocessor Interface Signals ........................................................................................... 26 Table 6:: Intel Microprocessor Interface Timing Specifications ....................................................................................... 28 Table 7:: Intel Microprocessor Interface Timing Specifications ....................................................................................... 30 Table 8:: Motorola 68K Microprocessor Interface Timing Specifications ......................................................................... 31 Table 9:: XRT86L30 Framer/LIU Register Map ............................................................................................................... 33 Table 10:: Register Summary .......................................................................................................................................... 34 Table 11:: Clock Select Register E1 Mode ...................................................................................................................... 40 Table 12:: Line Interface Control Register T1 Mode ........................................................................................................ 41 Table 13:: General Purpose Input/Output 0 Control Register .......................................................................................... 42 Table 14:: Framing Select Register-E1 Mode .................................................................................................................. 43 Table 15:: Framing Select Register-T1 Mode .................................................................................................................. 44 Table 16:: Alarm Generation Register - E1 Mode ............................................................................................................ 45 Table 17:: Alarm Generation Register -T1 Mode ............................................................................................................. 46 Table 18:: Synchronization MUX Register - E1 Mode ..................................................................................................... 47 Table 19:: Synchronization MUX Register - T1 Mode ..................................................................................................... 48 Table 20:: Transmit Signaling and Data Link Select Register - E1 Mode ........................................................................ 49 Table 21:: Transmit Signaling and Data Link Select Register - T1 Mode ........................................................................ 50 Table 22:: Framing Control Register E1 Mode ................................................................................................................ 51 Table 23:: Framing Control Register T1 Mode ................................................................................................................ 52 Table 24:: Receive Signaling & Data Link Select Register - E1 Mode ............................................................................ 53 Table 25:: Receive Signaling & Data Link Select Register (RS&DLSR) T1 Mode .......................................................... 54 Table 26:: Signaling Change Register 0 - T1 Mode ......................................................................................................... 54 Table 27:: Signaling Change Register 1 .......................................................................................................................... 55 Table 28:: Signaling Change Register 2 .......................................................................................................................... 55 Table 29:: Signaling Change Register 3 .......................................................................................................................... 56 Table 30:: Receive National Bits Register ....................................................................................................................... 56 Table 31:: Receive Extra Bits Register ............................................................................................................................ 57 Table 32:: Data Link Control Register .............................................................................................................................. 58 Table 33:: Transmit Data Link Byte Count Register ........................................................................................................ 59 Table 34:: Receive Data Link Byte Count Register ......................................................................................................... 59 Table 35:: Slip Buffer Control Register ............................................................................................................................ 60 Table 36:: FIFO Latency Register .................................................................................................................................... 60 Table 37:: DMA 0 (Write) Configuration Register ............................................................................................................ 61 Table 38:: DMA 1 (Read) Configuration Register ............................................................................................................ 62 Table 39:: Interrupt Control Register ............................................................................................................................... 62 Table 40:: LAPD Select Register ..................................................................................................................................... 63 Table 41:: Customer Installation Alarm Generation Register .......................................................................................... 63 Table 42:: Performance Report Control Register ............................................................................................................ 64 Table 43:: Gapped Clock Control Register ...................................................................................................................... 64 Table 44:: Gapped Clock Control Register ...................................................................................................................... 65 Table 45:: Transmit Interface Control Register - E1 Mode .............................................................................................. 66 Table 46:: Transmit Interface Control Register - T1 Mode .............................................................................................. 67 Table 47:: Receive Interface Control Register (RICR) - E1 Mode ................................................................................... 68 Table 48:: Receive Interface Control Register (RICR) - T1 Mode ................................................................................... 69 Table 49:: DS1 Test Register .......................................................................................................................................... 70 Table 50:: Loopback Code Control Register .................................................................................................................... 71 Table 51:: Transmit Loopback Coder Register ................................................................................................................ 71 Table 52:: Receive Loopback Activation Code Register .................................................................................................. 72 Table 53:: Receive Loopback Deactivation Code Register ............................................................................................. 72 Table 54:: Transmit Sa Select Register ........................................................................................................................... 73 Table 55:: Transmit Sa Auto Control Register 1 .............................................................................................................. 74 Table 56:: Conditions on Receive side When TSACR1 bits Are enabled ........................................................................ 74 Table 57:: Transmit Sa Auto Control Register 2 .............................................................................................................. 75 Table 58:: Conditions on Receive side When TSACR1 bits enabled .............................................................................. 75 Table 59:: Transmit Sa4 Register .................................................................................................................................... 75
A
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
Table 60:: Transmit Sa5 Register .................................................................................................................................... 76 Table 61:: Transmit Sa6 Register .................................................................................................................................... 76 Table 62:: Transmit Sa7 Register .................................................................................................................................... 76 Table 63:: Transmit Sa8 Register .................................................................................................................................... 76 Table 64:: Receive Sa4 Register ..................................................................................................................................... 77 Table 65:: Receive Sa5 Register ..................................................................................................................................... 77 Table 66:: Receive Sa6 Register ..................................................................................................................................... 77 Table 67:: Receive Sa7 Register ..................................................................................................................................... 77 Table 68:: Receive Sa8 Register ..................................................................................................................................... 77 Table 69:: Data Link Control Register .............................................................................................................................. 78 Table 70:: Transmit Data Link Byte Count Register ......................................................................................................... 79 Table 71:: Receive Data Link Byte Count Register .......................................................................................................... 79 Table 72:: Data Link Control Register .............................................................................................................................. 80 Table 73:: Transmit Data Link Byte Count Register ......................................................................................................... 81 Table 74:: Receive Data Link Byte Count Register .......................................................................................................... 81 Table 75:: Device ID Register .......................................................................................................................................... 82 Table 76:: Revision ID Register ....................................................................................................................................... 82 Table 77:: Transmit Channel Control Register 0 to 31 E1 Mode ..................................................................................... 83 Table 78:: Transmit Channel Control Register 0 to 31 T1 Mode ..................................................................................... 84 Table 79:: Transmit User Code Register 0 to 31 ............................................................................................................. 85 Table 80:: Transmit Signaling Control Register x - E1 Mode ........................................................................................... 85 Table 81:: Transmit Signaling Control Register x - T1 Mode ........................................................................................... 86 Table 82:: Receive Channel Control Register x (RCCR 0-31) - E1 Mode ....................................................................... 87 Table 83:: Receive Channel Control Register x (RCCR 0-23) - T1 Mode ....................................................................... 88 Table 84:: Receive User Code Register x (RUCR 0-31) .................................................................................................. 89 Table 85:: Receive Signaling Control Register x (RSCR) (0-31) ..................................................................................... 89 Table 86:: Receive Substitution Signaling Register (RSSR) E1 Mode ............................................................................ 90 Table 87:: Receive Substitution Signaling Register (RSSR) T1 Mode ............................................................................ 90 Table 88:: Receive Signaling Array Register 0 to 31 ....................................................................................................... 91 Table 89:: LAPD Buffer 0 Control Register ...................................................................................................................... 91 Table 90:: LAPD Buffer 1 Control Register ...................................................................................................................... 91 Table 91:: PMON T1/E1 Receive Line Code (bipolar) Violation Counter ........................................................................ 92 Table 92:: PMON T1/E1 Receive Line Code (bipolar) Violation Counter ........................................................................ 92 Table 93:: PMON T1/E1 Receive Framing Alignment Bit Error Counter ......................................................................... 92 Table 94:: PMON T1/E1 Receive Framing Alignment Bit Error Counter ......................................................................... 93 Table 95:: PMON T1/E1 Receive Severely Errored Frame Counter ............................................................................... 93 Table 96:: PMON T1/E1 Receive CRC-4 Block Error Counter - MSB ............................................................................. 94 Table 97:: PMON T1/E1 Receive CRC-4 Block Error Counter - LSB .............................................................................. 94 Table 98:: PMON T1/E1 Receive Far-End BLock Error Counter - MSB .......................................................................... 95 Table 99:: PMON T1/E1 Receive Far End Block Error Counter ...................................................................................... 95 Table 100:: PMON T1/E1 Receive Slip Counter .............................................................................................................. 96 Table 101:: PMON T1/E1 Receive Loss of Frame Counter ............................................................................................. 96 Table 102:: PMON T1/E1 Receive Change of Frame Alignment Counter ....................................................................... 97 Table 103:: PMON LAPD T1/E1 Frame Check Sequence Error Counter 1 ..................................................................... 97 Table 104:: T1/E1 PRBS Bit Error Counter MSB ............................................................................................................. 98 Table 105:: T1/E1 PRBS Bit Error Counter LSB .............................................................................................................. 98 Table 106:: T1/E1 Transmit Slip Counter ......................................................................................................................... 99 Table 107:: T1/E1 Excessive Zero Violation Counter MSB ............................................................................................. 99 Table 108:: T1/E1 Excessive Zero Violation Counter LSB ............................................................................................ 100 Table 109:: T1/E1 Frame Check Sequence Error Counter 2 ......................................................................................... 100 Table 110:: T1/E1 Frame Check Sequence Error Counter 3 ......................................................................................... 101 Table 111:: Block Interrupt Status Register ................................................................................................................... 102 Table 112:: Block Interrupt Enable Register .................................................................................................................. 103 Table 113:: Alarm & Error Interrupt Status Register ...................................................................................................... 103 Table 114:: Alarm & Error Interrupt Enable Register - E1 Mode .................................................................................... 105 Table 115:: Alarm & Error Interrupt Enable Register -T1 Mode ..................................................................................... 106 Table 116:: Framer Interrupt Status Register E1 Mode ................................................................................................. 107 Table 117:: Framer Interrupt Status Register T1 Mode ................................................................................................. 108 Table 118:: Framer Interrupt Enable Register E1 Mode ................................................................................................ 109 Table 119:: Framer Interrupt Enable Register T1 Mode ................................................................................................ 110
B
PRELIMINARY
REV. P1.0.1
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
Table 120:: Data Link Status Register 1 ........................................................................................................................ 111 Table 121:: Data Link Interrupt Enable Register 1 ......................................................................................................... 112 Table 122:: Slip Buffer Interrupt Status Register (SBISR) ............................................................................................. 113 Table 123:: Slip Buffer Interrupt Enable Register (SBIER) ............................................................................................ 113 Table 124:: Receive Loopback Code Interrupt and Status Register (RLCISR) ............................................................. 114 Table 125:: Receive Loopback Code Interrupt Enable Register (RLCIER) ................................................................... 114 Table 126:: Receive SA Interrupt Register (RSAIR) ...................................................................................................... 115 Table 127:: Receive SA Interrupt Enable Register (RSAIER) ....................................................................................... 116 Table 128:: Excessive Zero Status Register .................................................................................................................. 116 Table 129:: Excessive Zero Enable Register ................................................................................................................. 116 Table 130:: SS7 Status Register for LAPD1 .................................................................................................................. 117 Table 131:: SS7 Enable Register for LAPD1 ................................................................................................................. 117 Table 132:: Data Link Status Register 2 ........................................................................................................................ 118 Table 133:: Data Link Interrupt Enable Register 2 ......................................................................................................... 119 Table 134:: SS7 Status Register for LAPD2 .................................................................................................................. 119 Table 135:: SS7 Enable Register for LAPD2 ................................................................................................................. 120 Table 136:: Data Link Status Register 3 ........................................................................................................................ 121 Table 137:: Data Link Interrupt Enable Register 3 ......................................................................................................... 122 Table 138:: SS7 Status Register for LAPD3 .................................................................................................................. 122 Table 139:: SS7 Enable Register for LAPD3 ................................................................................................................. 123 Table 140:: Customer Installation Alarm Status Register .............................................................................................. 123 Table 141:: Customer Installation Alarm Status Register .............................................................................................. 123 Table 142:: Microprocessor Register #556 Bit Description ............................................................................................ 124 Table 143:: Equalizer Control and Transmit Line Build Out ........................................................................................... 125 Table 144:: Microprocessor Register #557 Bit Description ............................................................................................ 126 Table 145:: Microprocessor Register #558 Bit Description ............................................................................................ 127 Table 146:: Microprocessor Register #559 Bit Description ............................................................................................ 129 Table 147:: Microprocessor Register #560 Bit Description ............................................................................................ 131 Table 148:: Microprocessor Register #561 Bit Description ............................................................................................ 132 Table 149:: Microprocessor Register #562 Bit Description ............................................................................................ 133 Table 150:: Microprocessor Register #563 Bit Description ............................................................................................ 134 Table 151:: Microprocessor Register #564 Bit Description ............................................................................................ 135 Table 152:: Microprocessor Register #565 Bit Description ............................................................................................ 135 Table 153:: Microprocessor Register #566 Bit Description ............................................................................................ 135 Table 154:: Microprocessor Register #567 Bit Description ............................................................................................ 136 Table 155:: Microprocessor Register #568 Bit Description ............................................................................................ 136 Table 156:: Microprocessor Register #569 Bit Description ............................................................................................ 137 Table 157:: Microprocessor Register #570 Bit Description ............................................................................................ 137 Table 158:: Microprocessor Register #571 Bit Description ............................................................................................ 137 Table 159:: Microprocessor Register #700 Bit Description - Global Register 0 ............................................................. 139 Table 160:: Microprocessor Register #701, Bit Description - Global Register 1 ............................................................ 140 Table 161:: Microprocessor Register #702, Bit Description - Global Register 2 ............................................................ 140 Table 162:: Microprocessor Register #703, Bit Description - Global Register 3 ............................................................ 141 Table 163:: Microprocessor Register #704, Bit Description - Global Register 4 ............................................................ 141 Table 164:: List of the Possible Conditions that can Generate Interrupts, in each Framer ........................................... 143 Table 165:: Address of the Block Interrupt Status Registers ......................................................................................... 144 Table 166:: Block Interrupt Status Register ................................................................................................................... 145 Table 167:: Block Interrupt Enable Register .................................................................................................................. 146 Table 168:: Interrupt Control Register ........................................................................................................................... 147 Table 169:: Framing Format for PMON Status Inserted within LAPD by Initiating APR ................................................ 173 Table 170:: Random Bit Sequence Polynomials ........................................................................................................... 190 Table 171:: Short Haul Line Build Out ........................................................................................................................... 191 Table 172:: Selecting the Internal Impedance ............................................................................................................... 194 Table 173:: Selecting the Value of the External Fixed Resistor ..................................................................................... 194 Table 174:: The mapping of T1 frame into E1 framing format ....................................................................................... 216 Table 175:: Bit Format of Timeslot 0 octet within a FAS E1 Frame ............................................................................... 253 Table 176:: Bit Format of Timeslot 0 octet within a Non-FAS E1 Frame ....................................................................... 254 Table 177:: Bit Format of all Timeslot 0 octets within a CRC Multi-frame ..................................................................... 255 Table 178:: Superframe Format ..................................................................................................................................... 260 Table 179:: Extended Superframe Format .................................................................................................................... 262
C
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
Table 180:: Non-Signaling Framing Format ................................................................................................................... 263 Table 181:: SLC(R)96 Fs Bit Contents ............................................................................................................................. 264 Table 182:: XRT83L38 Power Consumption ................................................................................................................ 271 Table 183:: E1 Receiver Electrical Characteristics ........................................................................................................ 272 Table 184:: T1 Receiver Electrical Characteristics ........................................................................................................ 273 Table 185:: E1 Transmit Return Loss Requirement ....................................................................................................... 273 Table 186:: E1 Transmitter Electrical Characteristics .................................................................................................... 274 Table 187:: T1 Transmitter Electrical Characteristics .................................................................................................... 274 Table 188:: Transmit Pulse Mask Specification ............................................................................................................. 275 Table 189:: DSX1 Interface Isolated pulse mask and corner points .............................................................................. 276 Table 190:: AC Electrical Characteristics ....................................................................................................................... 277
D
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
1.0 PIN LIST TABLE 1: LIST BY PIN NUMBER
PIN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 PIN NAME LOP NC NC DVDD DGND TRING TVDD TTIP TGND JTAG_RING JTAG_TIP RGND RRING RTIP RVDD AVDD AGND SENSE ANALOG VDDPLL VDDPLL PLLGND PLLGND MCLKIN MCLKnOUT RxOH RxCHN_4 RxCHN_3 DGND RxCASYNC PIN 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 PIN NAME RxOHCLK RxCHN_2 RxSYNC NC NC RxCHN_1 DVDD RxCHCLK RxCRCSYNC RxCHN_0 DVDD RxSERCLK RxLOS RxSER TxCHN_4 TxCHN_3 TxCHN_2 DGND TxCHCLK TxCHN_1 TxOH DVDD TxCHN_0 TxSERCLK TxSER DVDD TxOHCLK TxMSYNC TxSYNC DGND REQ1 ACK0 DVDD PIN 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 PIN NAME REQ0 ACK1 NC NC PCLK DATA0 DATA1 RD DGND DBEN RDY ADDR0 ADDR1 ADDR2 DVDD ADDR3 ADDR4 ADDR5 ADDR6 DGND ADDR7 RESET OSCCLK DGND 8KSYNC ADDR8 DATA2 DATA3 DVDD ALE ADDR9 ADDR10 INT PIN 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
REV. P1.0.1
PIN NAME ADDR11 NC NC BLAST DATA4 DGND DATA5 DATA6 DVDD DATA7 WR CS DGND DGND TCK TRST TDI TMS TDO GPIO1 GPIO0 GPIO2 GPIO3 aTEST TEST 8KEXTOSC fADDR iADDR PTYPE2 PTYPE1 PTYPE0 TxON
10
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
2.0 PIN DESCRIPTIONS TRANSMIT SERIAL DATA INPUT
SIGNAL NAME TxSER PIN # 55 TYPE I DESCRIPTION Transmit Serial Data Input This input pin along with TxSERCLK functions as the Transmit Serial input port to the framer block. DS1 Mode Any payload data applied to this pin will be inserted into a DS1 frame and output onto the T1 line. If the framer is configured accordingly, the framing alignment bits, facility data link bits, and the CRC-6 bits can be inserted to this input pin. The signal applied to this input pin can be latched to the Transmit Payload Data Input Interface on either the rising edge or the falling edge of TxSERCLK. E1 Mode Any payload data applied to this pin will be inserted into an E1 frame and output onto the E1 line. All data intended to be transported via Time Slots 1 through 15 and Time slots 17 through 31 must be applied to this input pin. If the framer is configured accordingly, data intended for Time Slots 0 and 16 can also be applied to this input pin. Framer Bypass Mode In framer bypass mode, TxSER is used for the positive digital input pin to the LIU. Transmit Serial Clock Input/Output This clock signal is used by the Transmit payload data Input Interface to latch the contents of the TxSER signal into the framer. Data that is applied at the TxSER input can be latched on either the rising edge or the falling edge of TxSERCLK. DS1/E1 Standard Rate Mode (1.544Mhz/2.048MHz) If the Transmit Section of the framer has been configured to use TxSERCLK as the timing source, then this signal will be an input. If the recovered line clock or the MCLKIN input pin is used as the timing source for the transmitter, then TxSERCLK will be an output. DS1/E1 High-Speed Backplane Interface In High-Speed backplane applications, TxSERCLK is used as the timing source for the transmit line rate. Framer Bypass Mode In framer bypass mode, TxSERCLK is used for the transmit clock to the LIU. Transmit Single Frame Sync Pulse Input/Output This pin is configured to be an input if TxSERCLK is used as the timing reference for the transmitter. This pin is configured as an output if the recovered line clock or the MCLKIN input pin is used as the timing reference for the transmitter. DS1/E1 (TxSYNC as an Input) TxSYNC must pulse "High" for one period of TxSERCLK when the transmit payload data Input Interface is processing the first bit of an outbound DS1/E1 frame. NOTE: It is imperative that the TxSYNC input signal be synchronized with the TxSERCLK input signal. DS1/E1 (TxSYNC as an output) TxSYNC will pulse "High" for one period of TxSERCLK when the transmit payload data Input Interface is processing the first bit of an outbound DS1/E1 frame. Framer Bypass Mode In framer bypass mode, TxSYNC is used for the negative digital input pin to the LIU.
TxSERCLK
54
I/O
TxSYNC
59
I/O
11
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TRANSMIT SERIAL DATA INPUT
SIGNAL NAME TxMSYNC/ TxINCLK PIN # 58 TYPE I/O DESCRIPTION
REV. P1.0.1
Multiframe Sync Pulse/Transmit Input Clock This pin is a multiplexed I/O pin. When the device is configured to be in standard rate mode, this signal indicates the boundary of an outbound multi-frame. When the device is configured to be in High-Speed mode, this pin functions as an input clock signal for the high-speed Transmit back-plane interface. DS1/E1 Standard Rate Mode (TxMSYNC as an Input) This pin is configured to be an input if TxSERCLK is used as the timing reference for the transmitter. TxMSYNC must pulse "High" for one period of TxSERCLK when the transmit payload data Input Interface is processing the first bit of an outbound DS1/E1 multi frame. NOTE: It is imperative that the TxMSYNC input signal be synchronized with the TxSERCLK input signal. DS1/E1 Standard Rate Mode (TxMSYNC as an output) This pin is configured as an output if the recovered line clock or the MCLKIN input pin is used as the timing reference for the transmitter. TxMSYNC will pulse "High" for one period of TxSERCLK when the transmit payload data Input Interface is processing the first bit of an outbound DS1/E1 frame. DS1/E1 Non-Multiplexed High-Speed Backplane Interface In the non-multiplexed high-speed interface mode, this pin is used as the timing source for the high-speed data applied to TxSER. The non-multiplexed modes supported are MVIP 2.048MHz, 4.096MHz, and 8.192MHz. NOTE: For DS1 mode, the DS-0 data is mapped into an E1 frame by ignoring every fourth time slot (don't care). DS1/E1 Multiplexed High-Speed Backplane Interface In the multiplexed high-speed interface mode, this pin is used as the timing source for the high-speed data applied to TxSER. The multiplexed modes supported are 12.352MHz (DS1 only), 16.384MHz, 16.384MHz HMVIP, and 16.384MHz H.100. For DS1 mode in 16.384MHz rate, the DS-0 data is mapped into an E1 frame by ignoring every fourth time slot (don't care). Transmit Channel Clock Output Signal This pin indicates the boundary of each time slot of an outbound DS1/E1 frame. DS1/E1 Mode Each of these output pins is 192kHz/256kHz clock for DS1/E1 respectively which pulses "High" whenever the Transmit Payload Data Input Interface block accepts the LSB of each of the 24/32 time slots. The Terminal Equipment can use this clock signal to sample the TxCHN0 through TxCHN4 time slot identifier pins. DS1/E1 Fractional Interface Clock In the fractional interface mode, TxCHCLK can be configured to function as one of the following: The pin will output a gapped fractional clock that can be used by terminal equipment input fractional payload data using the falling edge of the clock. Otherwise the fractional payload data is clocked into the chip using the un-gapped TxSERCLK pin. Transmit Time Slot Octet Identifier Output-Bit 0 These output signals (TxCHN4_n through TxCHN0_n) reflect the five-bit binary value of the number of the current time slot being accepted and processed by the transmit payload data input Interface block. Terminal Equipment can use TxCHCLK to sample the five output pins of each channel in order to identify the time slot being processed. Transmit Serial Signaling Bus Input These pins can be used to input robbed-bit signaling data within an outbound DS1 frame or to input Channel Associated Signaling (CAS) bits within an outbound E1 frame.
TxCHCLK
49
O
TxCHN_0/ TxSig
53
O
I
12
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
PIN # 50 TYPE I/O DESCRIPTION Transmit Time Slot Octet Identifier Output-Bit 1 These output signals (TxCHN4_n through TxCHN0_n) reflect the five-bit binary value of the number of Time Slot being accepted and processed by the transmit payload data input Interface. Terminal Equipment can use TxCHCLK to sample the five output pins of each channel in order to identify the time slot being processed. Transmit Serial Fractional DS1/E1 Input These pins can be used to input fractional DS1/E1 payload data within an outbound DS1/E1 frame. In this mode, terminal equipment will use either TxCHCLK or TxSERCLK to sample fractional DS1/E1 payload data. Transmit Time Slot Octet Identifier Output-Bit 2 These output signals (TxCHN4_n through TxCHN0_n) reflect the five-bit binary value of the number of Time Slot being accepted and processed by the transmit payload data input Interface block. Terminal Equipment can use TxCHCLK to sample the five output pins of each channel in order to identify the time slot being processed. If TxCHN1_n is configured as TxFrTD_n to input fractional DS1/E1 payload data, the TxCHN2_n pin will serially output the five-bit binary value of the number of the Time Slot being accepted and processed. Transmit 12.352MHz Clock Output These pins can be used to output 12.352MHz/16.384MHz clock derived from the MCLKIN input pin. Transmit Time Slot Octet Identifier Output-Bit 3: These output signals (TxCHN4_n through TxCHN0_n) reflect the five-bit binary value of the number of Time Slot being accepted and processed by the transmit payload data input Interface block. Terminal Equipment can use TxCHCLK to sample the five output pins of each channel in order to identify the time slot being processed. Transmit Overhead Synchronization Pulse These pins can be used to output an Overhead Synchronization Pulse that indicates the first bit of each multi-frame. Transmit Time Slot Octet Identifier Output-Bit 4: These output signals (TxCHN4_n through TxCHN0_n) reflect the five-bit binary value of the number of Time Slot being accepted and processed by the transmit payload data input Interface block. Terminal Equipment can use TxCHCLK to sample the five output pins of each channel in order to identify the time slot being processed.
TRANSMIT SERIAL DATA INPUT
SIGNAL NAME TxCHN_1/ TxFrTD
TxCHN_2/ Tx12MHz
47
O
TxCHN_3/ TxOHSync
46
O
TxCHN_4
45
O
13
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
OVERHEAD INTERFACE
SIGNAL NAME TxOH PIN # 51 TYPE I DESCRIPTION
REV. P1.0.1
Transmit Overhead Input This input pin, along with TxOHCLK functions as the Transmit Overhead input port. DS1 Mode This input pin will become active if the Transmit Section has been configured to use this input as the source for the Facility Data Link bits in ESF framing mode, Fs bits in the SLC96 and N framing mode, and R bit in T1DM mode. The data that is input into this pin will be inserted into the Data Link Bits within the outbound DS1 frames at the falling edge of TxSERCLK. NOTE: This input pin will be disabled if the framer is using the Transmit HDLC Controller, or the TxSER input as the source for the Data Link Bits. E1 Mode This input pin will become active if the Transmit Section has been configured to use this input as the source for the Data Link bits. The data that is input into this pin will be inserted into the Sa4 through Sa8 bits (the National Bits) within the outbound non-FAS E1 frames. NOTE: This input pin will be disabled if the framer is using the Transmit HDLC Controller, or the TxSER input as the source for the Data Link Bits. Transmit OH Serial Clock Output Signal This output clock signal functions as a demand clock signal for the transmit overhead data input interface block. DS1/E1 Mode If the TxOH pins have been configured to be the source for the Facility Data Link bits, then the framer will provide a clock edge for each Data Link Bit. The Data Link Equipment can provide data to TxOH on the rising edge of TxOHCLK. The framer will latch the data on the falling edge of this clock signal. Receive Overhead Output This pin, along with RxOHCLK functions as the Receive Overhead Output Interface. DS1 Mode This pin unconditionally outputs the contents of the Facility Data Link Bit in ESF framing mode, Fs bit in the SLC96 and N framing mode, and R bit in T1DM framing mode. NOTE: This output pin is active even if the Receive HDLC Controller is active. E1 mode This pin unconditionally outputs the contents of the National Bits (Sa4 through Sa8). If the framer has been configured to interpret the National bits of the incoming E1 frames as carrying Data Link information, then the Receive Overhead Output Interface will provide a clock pulse on RxOHCLK for each Sa bit carrying Data Link information. NOTE: This output pin is active even if the Receive HDLC Controller is active. Receive OH Serial Clock Output Signal This pin, along with RxOH functions as the Receive Overhead Output Interface. DS1/E1 Mode This pin outputs a clock edge corresponding to each Facility Data Link Bit which carries Data Link information. The Data Link Equipment can sample data from RxOH on the rising edge of RxOHCLK. The framer will update the data on the falling edge of this clock signal.
TxOHCLK
57
O
RxOH
26
O
RxOHCLK
31
O
14
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
PIN # 33 TYPE I/O DESCRIPTION Receive Single Frame Sync Pulse Input/Output This pin is configured to be an input if the slip buffer is enabled in the receive path. Otherwise, this pin is an output signal. DS1/E1 (RxSYNC as an Input) RxSYNC must pulse "High" for one period of RxSERCLK and repeat every 125S. The framer will output the first bit of an inbound DS1/E1 frame during the provided RxSYNC pulse. NOTE: It is imperative that the RxSYNC input signal be synchronized with RxSERCLK. DS1/E1 (TxSYNC as an output) RxSYNC will pulse "High" for one period of RxSERCLK when the receive payload data Input Interface is processing the first bit of an inbound DS1/E1 frame. Framer Bypass Mode In framer bypass mode, RxSYNC is used for the negative digital output pin to the LIU.
RECEIVE SERIAL DATA OUTPUT
SIGNAL NAME RxSYNC
RxCRCSYNC
39
O
Multiframe Sync Pulse Output
This DS1 only signal will pulse "High" for one period of RxSERCLK the instant that the Receive payload data Interface is processing the first bit of a DS1 Multiframe.
RxCASYNC
30
O
Receive CAS Multiframe Sync Output Signal
This E1 only signal will pulse "High" for one period of RxSERCLK the instant that the Receive payload data Interface is processing the first bit of an E1 CAS Multi-frame.
RxSERCLK
42
I/O
Receive Serial Clock Signal This clock signal is used by the Receive payload data Output Interface to latch/ update the contents of RxSER. The output data on RxSER can be updated on either the rising edge or the falling edge of RxSERCLK. This pin is configured to be an input if the slip buffer is enabled in the receive path. Otherwise, this pin is an output signal. DS1/E1 Non-Multiplexed High-Speed Backplane Interface (Input Only) In the non-multiplexed high-speed interface mode, this pin is used as the timing source for the high-speed output data to RxSER. The non-multiplexed modes supported are MVIP 2.048MHz, 4.096MHz, and 8.192MHz. NOTE: For DS1 mode, the DS-0 data is mapped into an E1 frame by ignoring every fourth time slot (don't care). DS1/E1 Multiplexed High-Speed Backplane Interface (Input Only) In the multiplexed high-speed interface mode, this pin is used as the timing source for the high-speed output data to RxSER. The multiplexed modes supported are 12.352MHz (DS1 only), 16.384MHz, 16.384MHz HMVIP, and 16.384MHz H.100. For DS1 mode in 16.384MHz rate, the DS-0 data is mapped into an E1 frame by ignoring every fourth time slot (don't care). Framer Bypass Mode: In framer bypass mode, RxSERCLK is used for the receive clock to the LIU.
15
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
RECEIVE SERIAL DATA OUTPUT
SIGNAL NAME RxSER PIN # 44 TYPE O DESCRIPTION
REV. P1.0.1
Receive Serial Data Output This output pin along with RxSERCLK functions as the Receive Serial Output. DS1/E1 mode Any incoming T1/E1 line data that is received from the line will be decoded and output via this pin. The framer can use either the rising edge or the falling edge of RxSERCLK to update the received T1/E1 payload data. Framer Bypass Mode: In framer bypass mode, RxSER is used for the positive digital output pin to the LIU. Receive Time Slot Octet Identifier Output-Bit 0 These output signals (RxCHN4_n through RxCHN0_n) reflect the five-bit binary value of the number of Time Slot being received and output to the Terminal Equipment via the Receive Payload Data Output Interface. The Terminal Equipment can use RxCHCLK to sample these five output pins in order to identify the time slot being processed. Receive Serial Signaling Output These pins can be used to output robbed-bit signaling (DS1) or CAS signaling (E1) extracted from an incoming DS1/E1 frame. Receive Time Slot Octet Identifier Output-Bit 1 These output signals (RxCHN4_n through RxCHN0_n) reflect the five-bit binary value of the number of Time Slot being received and output to the Terminal Equipment via the Receive Payload Data Output Interface. The Terminal Equipment can use RxCHCLK to sample these five output pins in order to identify the time slot being processed. Receive Serial Fractional DS1/E1 Output These pins can be used to output fractional DS1/E1 payload data within an inbound DS1/E1 frame. In this mode, terminal equipment will use either RxCHCLK or RxSERCLK to clock out fractional DS1/E1 payload data. Receive Time Slot Octet Identifier Output-Bit 2 These output signals (RxCHN4_n through RxCHN0_n) reflect the five-bit binary value of the number of Time Slot being received and output to the Terminal Equipment via the Receive Payload Data Output Interface. The Terminal Equipment can use RxCHCLK to sample these five output pins in order to identify the time slot being processed. Receive Time Slot Identifier Serial Output If RxCHN1 is configured as RxFrTD to output fractional DS1/E1 payload data, then these pins serially output the five-bit binary value of the number of the Time Slot being accepted and processed by the Transmit Payload Data Input Interface. Receive Time Slot Octet Identifier Output-Bit 3 These output signals (RxCHN4_n through RxCHN0_n) reflect the five-bit binary value of the number of Time Slot being received and output to the Terminal Equipment via the Receive Payload Data Output Interface. The Terminal Equipment can use RxCHCLK to sample these five output pins in order to identify the time slot being processed. Receive 8KHz Clock Output These pins can output a reference 8KHz clock signal if configured accordingly.
RxCHN_0/ RxSig
40
O
RxCHN_1/ RxFrTD
36
O
RxCHN_2/ RxCHN
32
O
RxCHN_3/ Rx8KHZ
28
O
16
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
PIN # 27 TYPE O DESCRIPTION Receive Time Slot Octet Identifier Output-Bit 4 These output signals (RxCHN4_n through RxCHN0_n) reflect the five-bit binary value of the number of Time Slot being received and output to the Terminal Equipment via the Receive Payload Data Output Interface. The Terminal Equipment can use RxCHCLK to sample these five output pins in order to identify the time slot being processed. Receive Recovered Line Clock Output These pins output the recovered T1/E1 line clock (1.544MHz and 2.048MHz) for each channel in the High-Speed modes of operation. Receive Channel Clock Output This pin indicates the boundary of each time slot of an outbound DS1/E1 frame. DS1/E1 Mode Each of these output pins is 192kHz/256kHz clock for DS1/E1 respectively which pulses "High" whenever the Receive Payload Data Input Interface block outputs the LSB of each of the 24/32 time slots. The Terminal Equipment can use this clock signal to sample the RxCHN0 through RxCHN4 time slot identifier pins. DS1/E1 Fractional Interface Clock In the fractional interface mode, RxCHCLK can be configured to function as one of the following: The pin will output a gapped fractional clock that can be used by terminal equipment to output fractional payload data using the rising edge of the clock. Otherwise, the fractional payload data is clocked out of the chip using the un-gapped RxSERCLK pin.
RECEIVE SERIAL DATA OUTPUT
SIGNAL NAME RxCHN_4/ RxSCLK
RxCHCLK
38
O
RECEIVE LINE INTERFACE
SIGNAL NAME RTIP PIN # 14 TYPE I DESCRIPTION Receive Positive Analog Input RTIP is the positive differential input from the line interface. Along with the RRING signal, these pins should be coupled to a 1:1 transformer for proper operation. The center tap of the receive transformer should have a bypass capacitor of 0.1F to ground (Chip Side). Receive Negative Analog Input RRING is the negative differential input from the line interface. Along with the RTIP signal, these pins should be coupled to a 1:1 transformer for proper operation. The center tap of the receive transformer should have a bypass capacitor of 0.1F to ground (Chip Side). Receive Loss of Signal Output Indicator This output pin will toggle "High" (declare LOS) if the Receive block associated with Channel N determines that an RLOS condition occurs according to G.775 This pin is OR-ed with the LIU RLOS and the Framer RLOS bit. If either the LIU RLOS or the Framer RLOS bit pulses high, these RLOS pins will be set to "High".
RRING
13
I
RxLOS
43
O
17
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TRANSMIT LINE INTERFACE
SIGNAL NAME TTIP PIN # 8 TYPE O DESCRIPTION
REV. P1.0.1
Transmit Positive Analog Output TTIP is the positive differential output to the line interface. Along with the TRING signal, these pins should be coupled to a 1:2 step up transformer for proper operation. This pin should have a series line capacitor of 0.68F. Transmit Negative Analog Output TRING is the negative differential output to the line interface. Along with the TTIP signal, these pins should be coupled to a 1:2 step up transformer for proper operation. Transmitter On Upon power up, the transmit output (TTIP/TRING) is tri-stated. Turning the transmitter On or Off is selected by programming the appropriate register if this pin is pulled "High". If the TxON pin is pulled "Low", the transmitter is tri-stated. NOTE: Internally pulled "Low" with a 50k resistor.
TRING
6
O
TxON
128
I
TIMING INTERFACE
SIGNAL NAME MCLKIN PIN # 24 TYPE I DESCRIPTION Master Clock Input: This pin is used to provide the timing reference for the internal master clock of the device. The frequency of this clock is programmable from 8kHz to 16.384MHz in register 0x0FE9. LIU T1/E1 Output Clock Reference This output clock depends on the mode of operation. In T1 mode, this output pin is defaulted to 1.544MHz, but can be programmed to output 3.088MHz, 6.176MHz, or 12.352MHz in register 0x0FE4. In E1 mode, this output pin is defaulted to 2.048MHz, but can be programmed to 4.096MHz, 8.192MHz, or 16.384MHz in register 0x0FE4. Framer T1/E1 Output Clock Reference This output clock depends on the mode of operation. In T1 mode, this output pin is defaulted to 1.544MHz, but can be programmed to output 49.408MHz in register 0x011E. In E1 mode, this output pin is defaulted to 2.048MHz, but can be programmed to 65.536MHz in register 0x011E. 8kHz Clock Output Reference This pin is an output reference of 8kHz based on the MCLKIN input. Therefore, the duty cycle of this output is determined by the time period of the input clock reference. External Oscillator Select For normal operation, this pin should not be used, or pulled "Low". NOTE: This pin is internally pulled "Low" with a 50k resistor. Factory Test Mode Pin Note: For Internal Use Only Loss of Power for E1 Only / Input Pin for Messaging
MCLKnOUT
25
O
OSCCLK
86
O
8KSYNC
88
O
8KEXTOSC
122
I
ANALOG LOP
19 1
O I
18
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
GPIO CONTROL
SIGNAL NAME GPIO_3 GPIO_2 GPIO_1 GPIO_0 PIN # 119 118 116 117 TYPE I/O DESCRIPTION General Purpose Input/Output Pins The GPIO pins can be used as either inputs or outputs selected by register 0x0102. By default, these pins are inputs. To configure a GPIO pin to be an output, the register bit must be set to "1".
JTAG
SIGNAL NAME TCK TMS TDI TDO TRST TEST aTEST SENSE JTAG_Ring JTAG_Tip PIN # 111 114 113 115 112 121 120 18 10 11 TYPE I I I O I I I I I I DESCRIPTION Test clock: Boundary Scan clock input. Note: This input pin should be pulled "Low" for normal operation Test Mode Select: Boundary Scan Mode Select input. Note: This input pin should be pulled "Low" for normal operation Test Data In: Boundary Scan Test data input Note: This input pin should be pulled "Low" for normal operation Test Data Out: Boundary Scan Test data output JTAG Test Reset Input Factory Test Mode Pin Note: User should tie this pin to ground Factory Test Mode Pin Note: User should tie this pin to ground Factory Test Mode Pin Note: User should tie this pin to ground JTAG_Ring Test Pin JTAG_Tip Test Pin
MICROPROCESSOR INTERFACE (Framer Channel Number indicated by )
SIGNAL NAME DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7 PIN # 69 70 90 91 101 103 104 106 TYPE I/O DESCRIPTION Bidirectional Microprocessor Data Bus Data[7:0] is a bi-directional data bus used for read and write operations. NOTE: This bus is used as the bi-directional data port for storing and retrieving information through the DMA interface if enabled.
19
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
MICROPROCESSOR INTERFACE (Framer Channel Number indicated by )
SIGNAL NAME REQ0 PIN # 64 TYPE O DESCRIPTION
REV. P1.0.1
REQ1
61
DMA Cycle Request Output--DMA Controller 0 (Write): The Framer asserts this output pin (toggles it "Low") when at least one of the Transmit HDLC buffers are empty and can receive one more HDLC message. The Framer negates this output pin (toggles it "High") when the HDLC buffer can no longer receive another HDLC message. DMA Cycle Request Output--DMA Controller 1 (Read): The Framer asserts this output pin (toggles it "Low") when one of the Receive HDLC buffer contains a complete HDLC message that needs to be read by the C/P. The Framer negates this output pin (toggles it High) when the Receive HDLC buffers are depleted. Interrupt Request Output: The Framer will assert this active "Low" output (toggles it "Low"), to the local P, anytime it requires interrupt service. Microprocessor Clock Input: This clock signal is the Microprocessor Interface System clock. This clock signal is used for synchronous/DMA data transfer. The maximum frequency of this clock signal is 33MHz. This Pin Must be Tied "Low" for Normal Operation. This Pin Must be Tied "High" for Normal Operation. Microprocessor Type Input: These input pins permit the user to specify which type of Microprocessor/Microcontroller to be interfaced the Framer.
INT
96
O
PCLK
68
I
iADDR fADDR PTYPE0 PTYPE1 PTYPE2
124 123 127 126 125
I I I
PType2
PType1
PType0 0 1 1
MICROPROCESSOR TYPE 68HC11, 8051, 80C188 MOTOROLA 68K IBM POWER PC 403
0 0 1
0 0 0
RDY
74
O
Ready/Data Transfer Acknowledge Output: The exact behavior of this pin depends upon which Microprocessor the Framer is configured to interface to: Intel Type Microprocessors This output pin toggles "Low" when the Framer is ready to respond to the current PIO (Programmed I/O) or Burst Transaction. Motorola Type Microprocessors This output pin toggles "Low" when the Framer has completed the current bus cycle.
20
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
MICROPROCESSOR INTERFACE (Framer Channel Number indicated by )
SIGNAL NAME ADDR0 ADDR1 ADDR2 ADDR3 ADDR4 ADDR5 ADDR6 ADDR7 ADDR8 ADDR9 ADDR10 ADDR11 DBEN PIN # 75 76 77 79 80 81 82 84 89 94 95 97 73 TYPE I DESCRIPTION Microprocessor Interface Address Bus Input ADDR[11:0] is a direct address bus for permitting access to internal registers for read and write operations.
I
Data Bus Enable Input pin. This Active-Low pin is used to enable the bi-directional databus. To disable the databus, this pin must be pulled "High". Address Latch Enable Input_Address Strobe Microprocessor Interface--Chip Select Input: The Microprocessor/Microcontroller must assert this input pin (toggle it "Low") in order to exchange data with the Framer. Note: For the 68K MPU, this signal is generated by address decode and address strobe. Microprocessor Interface--Read Strobe Input: The exact behavior of this pin depends upon the type of Microprocessor/Microcontroller the Framer has been configured to interface to, as defined by the PTYPE[2:0] pins. Microprocessor Interface--Write Strobe Input The exact behavior of this pin depends upon the type of Microprocessor/Microcontroller the Framer has been configured to interface to, as defined by the PTYPE[2:0] pins.
ALE CS
93 108
I I
RD
71
I
WR
107
I
21
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
MICROPROCESSOR INTERFACE (Framer Channel Number indicated by )
SIGNAL NAME ACK0 PIN # 62 TYPE I DESCRIPTION
REV. P1.0.1
ACK1
65
DMA Cycle Acknowledge Input--DMA Controller 0 (Write): The external DMA Controller will assert this input pin "Low" when the following two conditions are met: a. After the DMA Controller, within the Framer has asserted (toggled "Low"), the Req_0 output signal. b. When the external DMA Controller is ready to transfer data from external memory to the selected Transmit HDLC buffer. At this point, the DMA transfer between the external memory and the selected Transmit HDLC buffer may begin. After completion of the DMA cycle, the external DMA Controller will negate this input pin after the DMA Controller within the Framer has negated the Req_0 output pin. The external DMA Controller must do this in order to acknowledge the end of the DMA cycle. DMA Cycle Acknowledge Input--DMA Controller 1 (Read): The external DMA Controller asserts this input pin "Low" when the following two conditions are met: a. After the DMA Controller, within the Framer has asserted (toggled "Low"), the Req_1 output signal. b. When the external DMA Controller is ready to transfer data from the selected Receive HDLC buffer to external memory. At this point, the DMA transfer between the selected Receive HDLC buffer and the external memory may begin. After completion of the DMA cycle, the external DMA Controller will negate this input pin after the DMA Controller within the Framer has negated the Req_1 output pin. The external DMA Controller will do this in order to acknowledge the end of the DMA cycle. Last Cycle of Burst Indicator Input: The Microprocessor asserts this pin "Low"when it is performing its last read or write cycle, within a burst operation. Hardware Reset Input Reset is an active low input. If this pin is pulled "Low" for more than 10S, the device will be reset, and the internal registers will be reset to their default values.
BLAST
100
I
RESET
85
I
22
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
POWER SUPPLY PINS
SIGNAL NAME DVDD AVDD RVDD TVDD VDDPLL TYPE PWR PWR PWR PWR PWR Framer Block Power Supply 4, 37, 41, 52, 56, 63, 78, 92, 105 Analog Power Supply for LIU Section 16 Receiver Analog Power Supply for LIU Section 15 Transmitter Analog Power Supply for LIU Section 7 Analog Power Supply for PLL 20, 21 DESCRIPTION
GROUND PINS
SIGNAL NAME DGND AGND RGND TGND PLLGND TYPE GND GND GND GND GND DESCRIPTION Framer Block Ground 5, 29, 48, 60, 72, 83, 87, 102, 109, 110 Analog Ground for LIU Section 17 Receiver Analog Ground for LIU Section 12 Transmitter Analog Ground for LIU Section 9 Analog Ground for PLL 22, 23
NO CONNECT PINS
SIGNAL NAME NC TYPE NC Not Connected 2, 3, 34, 35, 66, 67, 98, 99 DESCRIPTION
23
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
3.0 MICROPROCESSOR INTERFACE BLOCK The Microprocessor Interface section supports communication between the local microprocessor (P) and the Framer/LIU combo. The XRT86L30 supports an Intel asynchronous interface, Motorola 68K asynchronous, and a Motorola Power PC interface. The microprocessor interface is selected by the state of the PTYPE[2:0] input pins. Selecting the microprocessor interface is shown in Table 2. TABLE 2: SELECTING THE MICROPROCESSOR INTERFACE MODE
PTYPE[2:0] 0h (000) 1h (001) 7h (111) MICROPROCESSOR MODE Intel 68HC11, 8051, 80C188 (Asynchronous) Motorola 68K (Asynchronous) Motorola MPC8260, MPC860 Power PC (Synchronous)
The XRT86L30 uses multipurpose pins to configure the device appropriately. The local P configures the Framer/LIU by writing data into specific addressable, on-chip Read/Write registers. The microprocessor interface provides the signals which are required for a general purpose microprocessor to read or write data into these registers. The microprocessor interface also supports polled and interrupt driven environments. A simplified block diagram of the microprocessor is shown in Figure 2. FIGURE 2. SIMPLIFIED BLOCK DIAGRAM OF THE MICROPROCESSOR INTERFACE BLOCK
CS WR RD ALE
ADDR[11:0] DATA[7:0] PCLK PTYPE [2:0] Reset DBEN BLAST ACK[1:0] RDY INT REQ[1:0] Processor Interface
3.0.1 The Microprocessor Interface Block Signals The XRT86L30 may be configured into different operating modes and have its performance monitored by software through a standard microprocessor using data, address and control signals. These interface signals are described below in Table 3, Table 4, and Table 5. The microprocessor interface can be configured to operate in Intel mode or Motorola mode. When the microprocessor interface is operating in Intel mode, some of the control signals function in a manner required by the Intel 80xx family of microprocessors. Likewise, when the microprocessor interface is operating in Motorola mode, then these control signals function in a manner as required by the Motorola Power PC family of microprocessors. (For using a Motorola 68K asynchronous processor, see Figure 5 and Table 8) Table 3 lists and describes those microprocessor interface signals whose role is constant across the two modes. Table 4 describes the role of some of these signals when the microprocessor interface is operating in the Intel mode. Likewise, Table 5 describes the role of these signals when the microprocessor interface is operating in the Motorola mode.
24
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 3: XRT86L30 MICROPROCESSOR INTERFACE SIGNALS THAT EXHIBIT CONSTANT ROLES IN BOTH INTEL AND MOTOROLA MODES
PIN NAME PTYPE[2:0] TYPE I DESCRIPTION Microprocessor Interface Mode Select Input pins These three pins are used to specify the microprocessor interface mode. The relationship between the state of these three input pins, and the corresponding microprocessor mode is presented in Table 2. Bi-Directional Data Bus for register "Read" or "Write" Operations. 15-Bit Address Bus Inputs The XRT86L30 microprocessor interface uses a direct address bus. This address bus is provided to permit the user to select an on-chip register for Read/Write access. Chip Select Input This active low signal selects the microprocessor interface of the XRT86L30 and enables Read/Write operations with the on-chip register locations.
DATA[7:0] ADDR[11:0]
I/O I
CS
I
TABLE 4: INTEL MODE: MICROPROCESSOR INTERFACE SIGNALS
XRT86L30 PIN NAME ALE INTEL EQUIVALENT PIN ALE TYPE I DESCRIPTION Address-Latch Enable: This active high signal is used to latch the contents on the address bus ADDR[11:0]. The contents of the address bus are latched into the ADDR[11:0] inputs on the falling edge of ALE. Read Signal: This active low input functions as the read signal from the local P. When this pin is pulled "Low" (if CS is "Low") the XRT86L30 is informed that a read operation has been requested and begins the process of the read cycle. Write Signal: This active low input functions as the write signal from the local P. When this pin is pulled "Low" (if CS is "Low") the XRT86L30 is informed that a write operation has been requested and begins the process of the write cycle. Ready Output: This active low signal is provided by the XRT86L30 device. It indicates that the current read or write cycle is complete, and the XRT86L30 is waiting for the next command.
RD
RD
I
WR
WR
I
RDY
RDY
O
25
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 5: MOTOROLA MODE: MICROPROCESSOR INTERFACE SIGNALS
XRT86L30 PIN NAME ALE MOTOROLA EQUIVALENT PIN TS TYPE I DESCRIPTION
REV. P1.0.1
Transfer Start: This active high signal is used to latch the contents on the address bus ADDR[11:0]. The contents of the address bus are latched into the ADDR[11:0] inputs on the falling edge of TS. Read/Write: This input pin from the local P is used to inform the XRT86L30 whether a Read or Write operation has been requested. When this pin is pulled "High", WE will initiate a read operation. When this pin is pulled "Low", WE will initiate a write operation. Write Enable: This active low input functions as the read or write signal from the local P dependent on the state of R/W. When WE is pulled "Low" (If CS
WR
R/W
I
RD
WE
I
is "Low") the XRT86L30 begins the read or write operation.
No Pin PCLK OE CLKOUT TA I I O Output Enable: This signal is not necessary for the XRT86L30 to interface to the MPC8260 or MPC860 Power PCs. Synchronous Processor Clock: This signal is used as the timing reference for the Power PC synchronous mode. Transfer Acknowledge: This active low signal is provided by the XRT86L30 device. It indicates that the current read or write cycle is complete, and the XRT86L30 is waiting for the next command.
RDY
26
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
3.1 INTEL MODE PROGRAMMED I/O ACCESS (ASYNCHRONOUS) If the XRT86L30 is interfaced to an Intel type P, then it should be configured to operate in the Intel mode. Intel type Read and Write operations are described below. Intel Mode Read Cycle Whenever an Intel-type P wishes to read the contents of a register, it should do the following. 1. Place the address of the target register on the address bus input pins ADDR[11:0]. 2. While the P is placing this address value on the address bus, the address decoding circuitry should assert the CS pin of the XRT86L30, by toggling it "Low". This action enables further communication between the P and the XRT86L30 microprocessor interface block. 3. Toggle the ALE input pin "High". This step enables the address bus input drivers, within the microprocessor interface block of the XRT86L30. 4. The P should then toggle the ALE pin "Low". This step causes the XRT86L30 to latch the contents of the address bus into its internal circuitry. At this point, the address of the register has now been selected. 5. Next, the P should indicate that this current bus cycle is a Read operation by toggling the RD input pin "Low". This action also enables the bi-directional data bus output drivers of the XRT86L30. 6. After the P toggles the Read signal "Low", the XRT86L30 will toggle the RDY output pin "Low". The XRT86L30 does this in order to inform the P that the data is available to be read by the P, and that it is ready for the next command. 7. After the P detects the RDY signal and has read the data, it can terminate the Read Cycle by toggling the RD input pin "High".
NOTE: ALE can be tied "High" if this signal is not available.
The Intel Mode Write Cycle Whenever an Intel type P wishes to write a byte or word of data into a register within the XRT86L30, it should do the following. 1. Place the address of the target register on the address bus input pins ADDR[11:0]. 2. While the P is placing this address value on the address bus, the address decoding circuitry should assert the CS pin of the XRT86L30, by toggling it "Low". This action enables further communication between the P and the XRT86L30 microprocessor interface block. 3. Toggle the ALE input pin "High". This step enables the address bus input drivers, within the microprocessor interface block of the XRT86L30. 4. The P should then toggle the ALE pin "Low". This step causes the XRT86L30 to latch the contents of the address bus into its internal circuitry. At this point, the address of the register has now been selected. 5. The P should then place the byte or word that it intends to write into the target register, on the bi-directional data bus DATA[7:0]. 6. Next, the P should indicate that this current bus cycle is a Write operation by toggling the WR input pin "Low". This action also enables the bi-directional data bus input drivers of the XRT86L30. 7. After the P toggles the Write signal "Low", the XRT86L30 will toggle the RDY output pin "Low". The XRT86L30 does this in order to inform the P that the data has been written into the internal register location, and that it is ready for the next command.
NOTE: ALE can be tied "High" if this signal is not available.
The Intel Read and Write timing diagram is shown in Figure 3. The timing specifications are shown in Table 6.
27
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
FIGURE 3. INTEL P INTERFACE SIGNALS DURING PROGRAMMED I/O READ AND WRITE OPERATIONS
READ OPERATION
ALE = 1 t0 Valid Address t0 Valid Address
REV. P1.0.1
WRITE OPERATION
ADDR[11:0]
CS
DATA[7:0] t1 RD
Valid Data for Readback
Data Available to Write Into the LIU
t3 WR t2 t4 RDY
TABLE 6: INTEL MICROPROCESSOR INTERFACE TIMING SPECIFICATIONS
SYMBOL t0 t1 t2 NA t3 t4 NA PARAMETER Valid Address to CS Falling Edge CS Falling Edge to RD Assert RD Assert to RDY Assert RD Pulse Width (t2) CS Falling Edge to WR Assert WR Assert to RDY Assert WR Pulse Width (t4) MIN 0 65 90 65 90 MAX 90 90 ns ns ns ns ns ns ns UNITS
28
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
3.2 MOTOROLA MODE PROGRAMMED I/O ACCESS (SYNCHRONOUS) If the XRT86L30 is interfaced to a Motorola type P, it should be configured to operate in the Motorola mode. Motorola type programmed I/O Read and Write operations are described below. Motorola Mode Read Cycle Whenever a Motorola type P wishes to read the contents of a register, it should do the following. 1. Place the address of the target register on the address bus input pins ADDR[11:0]. 2. While the P is placing this address value on the address bus, the address decoding circuitry should assert the CS pin of the XRT86L30, by toggling it "Low". This action enables further communication between the P and the XRT86L30 microprocessor interface block. 3. The P should then toggle the TS pin "Low". This step causes the XRT86L30 to latch the contents of the address bus into its internal circuitry. At this point, the address of the register has now been selected. 4. Next, the P should indicate that this current bus cycle is a Read operation by pulling the R/W input pin "High". 5. Toggle the WE input pin "Low". This action enables the bi-directional data bus output drivers of the XRT86L30. 6. After the P toggles the WE signal "Low", the XRT86L30 will toggle the TA output pin "Low". The XRT86L30 does this in order to inform the P that the data is available to be read by the P, and that it is ready for the next command. 7. After the P detects the TA signal and has read the data, it can terminate the Read Cycle by toggling the WE input pin "High". Motorola Mode Write Cycle Whenever a motorola type P wishes to write a byte or word of data into a register within the XRT86L30, it should do the following. 1. Place the address of the target register on the address bus input pins ADDR[11:0]. 2. While the P is placing this address value on the address bus, the address decoding circuitry should assert the CS pin of the XRT86L30, by toggling it "Low". This action enables further communication between the P and the XRT86L30 microprocessor interface block. 3. The P should then toggle the TS pin "Low". This step causes the XRT86L30 to latch the contents of the address bus into its internal circuitry. At this point, the address of the register has now been selected. 4. Next, the P should indicate that this current bus cycle is a Write operation by pulling the R/W input pin "Low". 5. Toggle the WE input pin "Low". This action enables the bi-directional data bus output drivers of the XRT86L30. 6. After the P toggles the WE signal "Low", the XRT86L30 will toggle the TA output pin "Low". The XRT86L30 does this in order to inform the P that the data has been written into the internal register location, and that it is ready for the next command. 7. After the P detects the TA signal and has read the data, it can terminate the Read Cycle by toggling the WE input pin "High". The Motorola Read and Write timing diagram is shown in Figure 4. The timing specifications are shown in Table 7.
29
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
FIGURE 4. MOTOROLA P INTERFACE SIGNALS DURING PROGRAMMED I/O READ AND WRITE OPERATIONS
READ OPERATION WRITE OPERATION
TS tdc uPCLK t0 ADDR[11:0] t3 CS tcp t0 Valid Address t3
Valid Address
DATA[7:0] t1 WE
Valid Data for Readback t1
Data Available to Write Into the LIU
R/W
t2 t2
TA
TABLE 7: INTEL MICROPROCESSOR INTERFACE TIMING SPECIFICATIONS
SYMBOL t0 t1 t2 NA t3 tdc tcp PARAMETER Valid Address to CS Falling Edge CS Falling Edge to WE Assert WE Assert to TA Assert WE Pulse Width (t2) CS Falling Edge to TS Falling Edge PCLK Duty Cycle PCLK Clock Period MIN 0 0 90 0 40 20 MAX 90 60 % ns ns ns ns ns UNITS
30
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
FIGURE 5. MOTOROLA 68K P INTERFACE SIGNALS DURING PROGRAMMED I/O READ AND WRITE OPERATIONS
MOTOROLA ASYCHRONOUS MODE READ OPERATION WRITE OPERATION
ALE_TS
t0 Valid Address t3
t0 Valid Address t3
ADDR[11:0]
CS
DATA[7:0] t1
RD_WE
Valid Data for Readback t1
Data Available to Write Into the LIU
WR_R/W
t2 t2
RDY_DTACK
TABLE 8: MOTOROLA 68K MICROPROCESSOR INTERFACE TIMING SPECIFICATIONS
SYMBOL t0 t1 t2 NA t3 PARAMETER Valid Address to CS Falling Edge CS Falling Edge to DS (Pin RD_WE) Assert DS Assert to DTACK Assert DS Pulse Width (t2) CS Falling Edge to AS (Pin ALE_TS) Falling Edge MIN 0 65 90 0 MAX 90 ns ns ns ns ns UNITS
3.2.1 DMA Read/Write Operations The XRT86L30 Framer contains two DMA Controller Interfaces which provide support for all four framers within the chip. The purpose of the two DMA Controllers is to facilitate the rapid block transfer of data between an external memory location and the on-chip HDLC buffers via the Microprocessor Interface. DMA-0 Write DMA Interface DMA 0 Controller Interface handles data transfer between external memory and the selected Transmit HDLC Buffer. The DMA cycle starts when the XRT86L30 asserts the REQ0 output pin. The external DMA Controller then responds by asserting the ACK0 input pin. The contents of the Microprocessor Interface bi-directional data bus are latched into the XRT86L30 each time the WR (Write Strobe) input pin is strobed "Low". The XRT86L30 ends the DMA cycle by negating the DMA request input (REQ0) while WR is still active. The external DMA Controller acknowledges the end of DMA Transfer by driving the ACK0 input pin "High".
31
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
FIGURE 6. DMA MODE FOR THE XRT86L30 AND A MICROPROCESSOR
REV. P1.0.1
REQ[1:0] ACK[1:0] WR RD PCLK DATA[7:0] XRT86L30 Microprocessor
32
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 9: XRT86L30 FRAMER/LIU REGISTER MAP
3.3 MEMORY MAPPED I/O ADDRESSING
ADDRESS [11:0] 0100h - 01FFh 0300h - 03FFh 0500h - 05FFh 0600h - 06FFh 0700h - 07FFh 0900h - 09FFh 0B00h - 0BFFh 0C00h - 0DFFh 0F00h - 0FFFh Control Register (Framer Block)
CONTENTS
Time Slot (Payload) Control (Framer Block) Receive Signaling Array (Framer Block) LAPDn Buffer 0 (Framer Block) LAPDn Buffer 1 (Framer Block) Performance Monitor (Framer Block) Interrupt Generation/Enable (Framer Block) Reserved Line Interface Control (LIU Block)
33
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
3.4 DESCRIPTION OF THE CONTROL REGISTERS TABLE 10: REGISTER SUMMARY
REG # FUNCTION SYMBOL HEX
REV. P1.0.1
MODE
Control Registers (0x0100 - 0x01FF) 0 1 2 3 4 5 6 7 Clock and Select Register Line Interface Control Register General Purpose Input/Output Control Reserved Reserved Reserved Reserved Framing Select Register Framing Select Register 8 Alarm Generation Register Alarm Generation Register 9 Synchronization MUX Register Synchronization MUX Register 10 Transmit Signaling and Data Link Select Register Transmit Signaling and Data Link Select Register 11 Framing Control Register Framing Control Register 12 Receive Signaling & Data Link Select Register Receive Signaling & Data Link Select Register 13 14 15 16 17 18 Signaling Change Register 0 Signaling Change Register 1 Signaling Change Register 2 Signaling Change Register 3 Receive National Bits Register Receive Extra Bits Register Receive Interface Control 19 20 21 Data Link Control Register 1 Transmit Data Link Byte Count Register 1 Receive Data Link Byte Count Register 1 SCR0 SCR1 SCR2 SCR3 RNBR REBR RICR DLCR1 TDLBCR1 RDLBCR1 RS&DLSR FCR TSDLSR SMR AGR CSR LICR GPIOCR FSR 0x0100 0x0101 0x0102 0x0103 0x0104 0x0105 0x0106 0x0107 0x0107 0x0108 0x0108 0x0109 0x0109 0x010A 0x010A 0x010B 0x010B 0x010C 0x010C 0x010D 0x010E 0x010F 0x0110 0x0111 0x0112 0x0112 0x0113 0x0114 0x0115 T1/E1 T1/E1 T1/E1 E1 T1 E1 T1 E1 T1 E1 T1 E1 T1 E1 T1 T1/E1 T1/E1 T1/E1 E1 E1 E1 T1 T1/E1 T1/E1 T1/E1
34
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 10: REGISTER SUMMARY
FUNCTION SYMBOL SBCR FIFOLR D0WCR D1CR ICR LAPDSR CIAGR PRCR GCCR MHSCCR TICR HEX 0x0116 0x0117 0x0118 0x0119 0x011A 0x011B 0x011C 0x011D 0x011E 0x011F 0x0120 0x0120 RICR 0x0122 0x0122 DS1TR LCCR TLCR RLACR RLDCR TSASR TSACR1 TSACR2 TSA4R TSA5R TSA6R TSA7R TSA8R RSA4R RSA5R RSA6R RSA7R RSA8R 0x0123 0x0124 0x0125 0x0126 0x0127 0x0130 0x0131 0x0132 0x0133 0x0134 0x0135 0x0136 0x0137 0x013B 0x013C 0x013D 0x013E 0x013F MODE T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1 T1 T1/E1 T1/E1 E1 T1 E1 T1 T1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1
REG # 22 23 24 25 26 27 28 29 30 31 32
Slip Buffer Control Register FIFO Latency Register DMA 0 (Write) Configuration Register DMA 1 (Read) Configuration Register Interrupt Control Register LAPD Select Register Customer Installation Alarm Generation Register Performance Report Control Register Gapped Clock Control Register Multiplexed High-Speed Channel Control Register Transmit Interface Control Register Transmit Interface Control Register
33
Receive Interface Control Register Receive Interface Control Register
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
DS1 Test Register: PRBS Control & Status Loopback Code Control Register Transmit Loopback Code Register Receive Loopback Activation Code Register Receive Loopback Deactivation Code Register Transmit Sa Select Register Transmit Sa Auto Control Register 1 Transmit Sa Auto Control Register 2 Transmit Sa4 Register Transmit Sa5 Register Transmit Sa6 Register Transmit Sa7 Register Transmit Sa8 Register Receive Sa4 Register Receive Sa5 Register Receive Sa6 Register Receive Sa7 Register Receive Sa8 Register
35
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 10: REGISTER SUMMARY
REG # 52 53 54 55 56 57 58 59 FUNCTION Data Link Control Register 2 Transmit Data Link Byte Count Register 2 Receive Data Link Byte Count Register 2 Data Link Control Register 3 Transmit Data Link Byte Count Register 3 Receive Data Link Byte Count Register 3 Device ID Register Version Number Register SYMBOL DLCR2 TDLBCR2 RDLBCR2 DLCR3 TDLBCR3 RDLBCR3 DEVID REVID HEX 0x0143 0x0144 0x0145 0x0153 0x0154 0x0155 0x01FE 0x01FF
REV. P1.0.1
MODE T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1
Time Slot (payload) Control (0x0300 - 0x03FF) 60-91 Transmit Channel Control Register 0-31 Transmit Channel Control Register 0-23 92-123 User Code Register 0-31 User Code Register 0-23 TCCR 0-31 TCCR 0-23 TUCR 0-31 TUCR 0-23 0x0300 to 0x031F 0x0320 to 0x033F E1 T1 E1 T1
124155
Transmit Signaling Control Register 0 -31 Transmit Signaling Control Register 0-23
TSCR 0-31 TSCR 0-23
0x0340 to 0x035F
E1 T1
156187
Receive Channel Control Register 0-31 Receive Channel Control Register 0-31
RCCR 0-31 RCCR 0-23
0x0360 to 0x037F
E1 T1
188219
Receive User Code Register 0-31 Receive User Code Register 0-31
RUCR 0-31 RUCR 0-23
0x0380 to 0x039F
E1 T1
220251
Receive Signaling Control Register 0-31 Receive Signaling Control Register 0-23
RSCR 0-31 RSCR 0-23
0x03A0 to 0x03BF
E1 T1
252283
Receive Substitution Signaling Register 0-31 Receive Substitution Signaling Register 0-23
RSSR 0-31 RSSR 0-23
0x03C0 to 0x03DF
E1 T1
Receive Signaling Array (0x0500 - 0x051F) 284315 Receive Signaling Array Register 0 RSAR0-31 0x0500 to 0x051F T1/E1
36
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 10: REGISTER SUMMARY
FUNCTION SYMBOL HEX MODE
REG #
LAPDn Buffer 0 (0x0600 - 0x0660) 316411 LAPD Buffer 0 Control Register LAPDBCR0 0x0600 to 0x0660 T1/E1
LAPDn Buffer 1 (0x0700 - 0x0760) 412507 LAPD Buffer 1 Control Register LAPDBCR1 0x0700 to 0x0760 T1/E1
Performance Monitor 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 T1/E1 Receive Line Code Violation Counter: MSB T1/E1 Receive Line Code Violation Counter: LSB T1/E1 Receive Frame Alignment Error Counter: MSB T1/E1 Receive Frame Alignment Error Counter: LSB T1/E1 Receive Severely Errored Frame Counter T1/E1 Receive Synchronization Bit (CRC-6 (T1) CRC-4 (E1) Block) Error Counter: MSB T1/E1 Receive Synchronization Bit (CRC-6 (T1) CRC-4 (E1) Block) Error Counter: LSB T1/E1 Receive Far-End Block Error Counter: MSB T1/E1 Receive Far-End Block Error Counter: LSB T1/E1 Receive Slip Counter T1/E1 Receive Loss of Frame Counter T1/E1 Receive Change of Frame Alignment Counter LAPD Frame Check Sequence Error counter 1 T1/E1 PRBS bit Error Counter: MSB T1/E1 PRBS bit Error Counter: LSB T1/E1 Transmit Slip Counter T1/E1 Excessive Zero Violation Counter: MSB T1/E1 Excessive Zero Violation Counter: LSB LAPD Frame Check Sequence Error counter 2 LAPD Frame Check Sequence Error counter 3 T1/E1 RLCVCU T1/E1 RLCVCL T1/E1 RFBECU T1/E1 RFAECL T1/E1RSEFC T1/E1 RSBBECU T1/E1 RSBBECL T1/E1 RFEBECU T1/E1 RFEBECL T1/E1RSC T1/E1 RLFC T1/E1 RCOAC LFCSEC1 T1/E1 PBECU T1/E1 PBECL T1/E1TSC T1/E1 EZVCU T1/E1 EZVCL LFCSEC2 LFCSEC3 0x0900 0x0901 0x0902 0x0903 0x0904 0x0905 0x0906 0x0907 0x0908 0x0909 0x090A 0x090B 0x090C 0x090D 0x090E 0x090F 0x910 0x911 0x91C 0x92C T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1
Interrupt Generation/Enable Register Address Map (0x0B00 - 0x0B41) 528 529 530 Block Interrupt Status Register Block Interrupt Enable Register Alarm & Error Interrupt Status Register BISR BIER AEISR 0x0B00 0x0B01 0x0B02 T1/E1 T1/E1 T1/E1
37
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 10: REGISTER SUMMARY
REG # 531 FUNCTION Alarm & Error Interrupt Enable Register Alarm & Error Interrupt Enable Register 532 Framer Interrupt Status Register Framer Interrupt Status Register 533 Framer Interrupt Enable Register Framer Interrupt Enable Register 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 Data Link Status Register 1 Data Link Interrupt Enable Register 1 Slip Buffer Interrupt Status Register Slip Buffer Interrupt Enable Register Receive Loopback code Interrupt and Status Register Receive Loopback code Interrupt Enable Register Receive SA (Sa6) Interrupt Status Register Receive SA (Sa6) Interrupt Enable Register Excessive Zero Status Register Excessive Zero Enable Register SS7 Status Register for LAPD 1 SS7 Enable Register for LAPD 1 Data Link Status Register 2 Data Link Interrupt Enable Register 2 SS7 Status Register for LAPD 2 SS7 Enable Register for LAPD 2 Data Link Status Register 3 Data Link Interrupt Enable Register 3 SS7 Status Register for LAPD 3 SS7 Enable Register for LAPD 3 Customer Installation Alarm Status Register Customer Installation Alarm Interrupt Enable Register DLSR1 DLIER1 SBISR SBIER RLCISR RLCIER RSAISR RSAIER EXZSR EXZER SS7SR1 SS7ER1 DLSR2 DLIER2 SS7SR2 SS7ER2 DLSR3 DLIER3 SS7SR3 SS7ER3 CIASR CIAIER FIER FISR SYMBOL AEIER HEX 0x0B03 0x0B03 0x0B04 0x0B04 0x0B05 0x0B05 0x0B06 0x0B07 0x0B08 0x0B09 0x0B0A 0x0B0B 0x0B0C 0x0B0D 0x0B0E 0x0B0F 0x0B10 0x0B11 0x0B16 0x0B17 0x0B18 0x0B19 0x0B26 0x0B27 0x0B28 0x0B29 0x0B40 0x0B41
REV. P1.0.1
MODE E1 T1 E1 T1 E1 T1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 T1 T1 T1/E1 T1/E1 T1 T1 T1/E1 T1/E1 T1 T1 T1 T1
38
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 10: REGISTER SUMMARY
FUNCTION SYMBOL HEX MODE
REG #
LIU Register Summary - Channel Control Registers 556 to 571 Channel 0 LIU Control Register C0LIUCR 0x0F00 to 0x0F0F 0x0F10 to 0x0FDF T1/E1
572 to Reserved 699 LIU Register Summary - Global Control Registers 700 701 702 703 704 LIU Global Control Register 0 LIU Global Control Register 1 LIU Global Control Register 2 LIU Global Control Register 3 LIU Global Control Register 4
-
LIUGCR0 LIUGCR1 LIUGCR2 LIUGCR3 LIUGCR4 -
0x0FE0 0x0FE1 0x0FE2 0x0FE4 0x0FE9 0x0FEA to 0x0FFF
T1/E1 T1/E1 T1/E1 T1/E1 T1/E1 -
705 to Reserved 731
39
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
3.4.1 Register Descriptions TABLE 11: CLOCK SELECT REGISTER E1 MODE
REGISTER 0 - T1/E1 MODE
BIT FUNCTION TYPE
REV. P1.0.1
CLOCK SELECT REGISTER (CSR)
DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0100
7
BPVI
R/W
0
Bipolar Violation Insertion This bit is used to force a single BPV on the transmit output of Ttip/Tring upon the transition from "0" to "1". 0 = Disabled 1 = Insert BPV T1/E1 Mode select This bit is used to program the chip to either T1 or E1 mode. 1 = T1 mode 0 = E1 mode. 8kHZ Sync Enable This bit allows the user to configure the transmit sectionof the framer block to synchronize their frame alignment with the 8kHz signal derived from the MCLKIN input pin. NOTE: This bit-field is ignored if TxSERCLK or the recovered line clock is used as the timing reference for the transmit section. Clock Loss Detect Enable/Disable Select This bit enables a protection feature for the Framer whenever the recovered line clock is used as the timing source for the transmit section. If the LIU loses clock recovery, the Clock Distribution Block will detect this occurrence and automatically begin to use the LIUCLK derived from MCLKIN as the Transmit source, until the LIU is able to regain clock recovery. 0 = Disabled 1 = Enabled Reserved Clock Source Select These bits specify the timing source for the Transmit Framer block. 00 = RxLineClk - The recovered line clock is chosen as the timing reference for the transmit section of the framer (Loop Timing). 01 = TxSERCLK - The Transmit Serial Input Clock is chosen as the timing reference for the timing source for the transmit section of the framer. 10 = LIUCLK - (derived from MCLKIN) is chosen as the timing reference for the transmit section of the framer. 11 = RxLineClk - The recovered line clock is chosen as the timing reference for the transmit section of the framer (Loop Timing).
6
IST1
R/W
1
5
8kHz R/W
0
4
CLDET
R/W
0
3:2
Reserved
R/W
0
1:0
CSS[1:0]
R/W
00
40
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 12: LINE INTERFACE CONTROL REGISTER T1 MODE
REGISTER 1 - T1/E1 MODE
BIT FUNCTION TYPE
LINE INTERFACE CONTROL REGISTER (LICR)
DEFAULT DESCRIPTION-OPERATION Force Transmit LOS This bit is used to force LOS to the transmit output. 0 = Disabled 1 = LOS Enabled Reserved
HEX ADDRESS: 0X0101
7
FORCE_LOS
R/W
0
6
Reserved
R/W
0
5:4
LB[1:0]
R/W
0
Framer Loopback Selection (For LIU Loopback Modes, see the LIU Configuration Registers) These two bits are used to select any of the following loop-back modes. 00 = No loopback 01 = Local loopback 10 = Remote Line Loopback 11 = Payload Loopback Reserved Encode AMI or B8ZS/HDB3 Line Code Select Configures the Transmit LIU Interface block to transmit data via the AMI or B8ZS/HDB3 line codes. 0 = B8ZS for DS1/HDB3 for E1 1 = AMI line code. Decode AMI or B8ZS/HDB3 Line Code Select Enables or disables the HDB3 decoder with in the Receive LIU interface block. 0 = Enables the B8ZS/HDB3 decoder 1 = Disables the B8ZS/HDB3 decoder
3:2
Reserved
R/W
0
1
Encode AMI/B8ZS
R/W
0
0
Decode AMI/B8ZS
R/W
0
41
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 13: GENERAL PURPOSE INPUT/OUTPUT 0 CONTROL REGISTER
REGISTER 2
BIT FUNCTION
REV. P1.0.1
GENERAL PURPOSE INPUT/OUTPUT 0 CONTROL REGISTER (GPIOCR)
TYPE DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0102
7
GPIO0_3DIR
R/W
0
GPIO0_3 Direction This bit is used to select pin GPIO0_3 as an input or output. 0 = Input 1 = Output GPIO0_2 Direction This bit is used to select pin GPIO0_2 as an input or output. 0 = Input 1 = Output GPIO0_1 Direction This bit is used to select pin GPIO0_1 as an input or output. 0 = Input 1 = Output GPIO0_0 Direction This bit is used to select pin GPIO0_0 as an input or output. 0 = Input 1 = Output GPIO0_3 Control If GPIO0_3DIR is set to "0", this bit is a read only register which is used to report the state of the GPIO0_3 input pin. If GPIO0_3DIR is set to "1", this bit is a write only register which is used to determine the output voltage of the GPIO0_3 pin. GPIO0_2 Control If GPIO0_2DIR is set to "0", this bit is a read only register which is used to report the state of the GPIO0_2 input pin. If GPIO0_2DIR is set to "1", this bit is a write only register which is used to determine the output voltage of the GPIO0_2 pin. GPIO0_1 Control If GPIO0_1DIR is set to "0", this bit is a read only register which is used to report the state of the GPIO0_1 input pin. If GPIO0_1DIR is set to "1", this bit is a write only register which is used to determine the output voltage of the GPIO0_1 pin. GPIO0_0 Control If GPIO0_0DIR is set to "0", this bit is a read only register which is used to report the state of the GPIO0_0 input pin. If GPIO0_0DIR is set to "1", this bit is a write only register which is used to determine the output voltage of the GPIO0_0 pin.
6
GPIO0_2DIR
R/W
0
5
GPIO0_1DIR
R/W
0
4
GPIO0_0DIR
R/W
0
3
GPIO0_3
R/W
0
2
GPIO0_2
R/W
0
1
GPIO0_1
R/W
0
0
GPIO0_0
R/W
0
42
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 14: FRAMING SELECT REGISTER-E1 MODE
REGISTER 7- E1 MODE
BIT FUNCTION TYPE
FRAMING SELECT REGISTER (FSR)
DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0107
7
E1
MODENB
R/W
0
Annex B Enable This bit forces the framing synchronizer to be compliant with ITU-T G.706 Annex B for CRC-to-non-CRC interworking detection. 0 = Normal operation. 1 = Annex B is enabled. CRC Diagnostics Select Enable/Disable This Read/Write bit-field is used to force an errored CRC pattern in the outbound CRC multiframe to be sent on the transmission line. The transmit section will implement this error by inverting the value of CRC bit (C1) 0 = Transmit E1 Framer functions normally (no errors) 1 = Transmits errored CRC bit NOTE: This bit-field is ignored if CRC multi-Framing is disabled. CAS Multiframe Alignment Algorithm Select Allows the user to select which CAS Multiframe Alignment algorithm to employ. 00 = CAS Multiframe Alignment disabled 01 = CAS Multiframe Alignment Algorithm 1 enabled 10 = CAS Multiframe Alignment Algorithm 2 (G.732) enabled 11 = CAS Multiframe Alignment disabled CRC Multiframe Alignment Criteria Select Allows the user to select which CRC-Multiframe Alignment to employ. 00 = CRC Multiframe Alignment disabled 01 = CRC Multiframe Alignment enabled. Alignment is declared if at least one valid CRC multiframe alignment signal (0,0,1,0,1,1,E1,E2) is observed within 8ms. 10 = CRC Multiframe Alignment enabled. Alignment is declared if at least two valid CRC multiframe alignment signals (0,0,1,0,1,1,E1,E2) are observed within 8ms with the time separating the two alignment signals being multiples of 2ms. 11:CRC Multiframe Alignment enabled. Alignment is declared if at least 3 valid CRC multiframe alignment signals (0,0,1,0,1,1,E1,E2) are observed within 8ms with the time separating the two alignment signals being multiples of 2ms. Check Sequence Enable-FAS Alignment Enable/Disable frame check sequence in FAS alignment process. 0 = Disables Frame Check Sequence 1 = Enables Frame Check Sequence` FAS Alignment Algorithm Select Specifies which algorithm the Receive E1 Framer block uses in its search for FAS Alignment. 0 = Algorithm 1 1 = Algorithm 2
6
E1
CRCDIAG
R/W
0
5
E1
CASSEL(1)
R/W
0
4
E1
CASSEL(0)
R/W
0
3
E1
CRCSEL(1)
R/W
0
2
E1
CRCSEL(0)
R/W
0
1
E1
CKSEQ_ENB
R/W
0
0
E1
FASSEL
R/W
0
43
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 15: FRAMING SELECT REGISTER-T1 MODE
REGISTER 7- T1 MODE
BIT FUNCTION TYPE
REV. P1.0.1
FRAMING SELECT REGISTER (FSR)
DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0107
7
SIGFRAME
R/W
0
Enable Signaling Update Setting this bit to 1 will enable signaling update (transmit and receive) on the superframe boundary. Otherwise, signaling data will be updated once it is received. Force CRC Errors Setting this bit to 1 will force CRC error on transmit stream. CRC Calculation in J1 Mode Setting this bit to 1 will force CRC calculation for J1 format. The J1 CRC6 calculation is based on the actual values of all 4632 bits in a DS1 multiframe including Fe bits instead of assuming all Fe bits to be a one in T1 format. Allow Only One Sync Candidate Setting this bit to 1 will enable framing search engine to declare sync while there is one and only one candidate left. Faster Sync Algorithm Setting this bit to 1 will enable framing search engine to declare SYNC condition earlier. Framing Select bit 2 Framing Select bit 1 Framing Select bit 0 These three bits select the DS1 framing mode. Bit 2 is MSB and Bit 0 is LSB. NOTE: Changing framing format will cause a RESYNC to be generated automatically.
6
CRCDIAG
R/W
0
5
J1_CRC
R/W
0
4
ONEONLY
R/W
0
3
FASTSYNC
R/W
1
2 1 0
FS[2] FS[1] FS[0]
R/W R/W R/W
0 0 0
Framing ESF SF N T1DM SLC(R)96
FS[2] 0 1 1 1 1
FS[1] X 0 1 1 0
FS[0] X 1 0 1 0
44
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 16: ALARM GENERATION REGISTER - E1 MODE
REGISTER 8 -E1 MODE
BIT FUNCTION TYPE
ALARM GENERATION REGISTER (AGR)
DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0108
7
AUXPG
RO
0
AUXP Generation Enables the generation of AUXP pattern which is an unframed 1010.... pattern. 0 = AUXP is disabled. 1 = AUXP is enabled. Loss of Frame Declaration Criteria This Read/Write bit-field is used to select the LOF or Red Alarm generation criteria the Receive E1 Framer block will employ. 0 = Receive E1 Framer declares Red Alarm unless both FAS and multi-frame alignment are achieved. 1 = Prevents Receive E1 Framer from declaring Red Alarm condition; FAS Alignment is maintained. Yellow Alarm and Multiframe Yellow Alarm Generation These bits activate and deactivate the transmission of a yellow alarm. The Yellow alarm and multiframe Yellow alarm data pattern can be injected either automatically upon detection of the loss of alignment or controlled by YEL bits. Setting these bits to b01 will enable automatic yellow alarm transmission in response to a loss of frame alignment (FAS red alarm) and multiframe yellow alarm is transmitted in response to a loss of multiframe alignment (CAS red alarm). The decoding of these bits are explained as follows: 00 = Disable the transmission of yellow alarm. 01 = Enable automatic yellow alarm generation. 1. The yellow alarm bits (bit 3 of non-FAS frames in TS0) is transmitted by echoing the receive FAS alignment status. Logic one is transmitted if loss of FAS alignment occurred. 2. The multiframe yellow alarm bits (bit 6 of frame 0 in TS16) is transmitted by echoing the receive CAS multiframe alignment status. Logic one is transmitted if loss of CAS multiframe alignment occurred. 10 = Yellow and multiframe yellow alarms are transmitted as 0. 11 = Yellow and multiframe yellow alarms are transmitted as 1. AIS Generation Select These Read/Write bit-fields are used to configure the channel to generate and transmit an AIS pattern, as described below. 00 = No AIS Alarm generated 01 = Enable unframed AIS alarm generation 10 = Enable AIS16 generation 11 = Enable framed AIS alarm generation AIS Pattern Detection Select These Read/Write bit-fields are used to specify the type of AIS pattern that the receive E1 framer block will detect as described below. 00 = AIS alarm detection is disabled. 01 = Enable unframed AIS alarm detection. 10 = Enable AIS 16 detection. 11 = Enable framed AIS alarm detection.
6
LOF
R/W
0
5
YEL(1)
R/W
0
4
YEL(0)
R/W
0
3
AISG(1)
R/W
0
2
AISG(0)
R/W
0
1
AISD(1)
R/W
0
0
AISD(0)
R/W
0
45
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 17: ALARM GENERATION REGISTER -T1 MODE
REGISTER 8 - T1 MODE
BIT 7 FUNCTION Reserved TYPE -
REV. P1.0.1
ALARM GENERATION REGISTER (AGR)
DEFAULT Reserved
HEX ADDRESS: 0X0108
DESCRIPTION-OPERATION
6
LOF
R/W
0
Loss of Frame Declaration Criteria A Red Alarm is generated by the receiver to indicate the loss of frame (LOF) alignment. A Yellow Alarm is then returned to the remote transmitter to report that the receiver detects LOF. Setting this bit will set the criteria for preventing red alarm from generation as long as the frame is aligned. Otherwise, the frame and multiframe must be both aligned in order to keep red alarm from happening. Yellow Alarm and Multiframe Yellow Alarm Generation These bits activate and deactivate the transmission of a yellow alarm. The decoding of these bits are explained as follows: 00, = Disable the transmission of yellow alarm. 01 = In SF mode (or N mode), yellow alarm is transmitted as bit 2 = 0 (second MSB) in all DS0 data channel. In T1DM mode, yellow is transmitted to the remote terminal by setting the outgoing Y-bit to zero. In ESF mode, follow the following scenario: 1. If YEL[0] forms a pulse width shorter or equal to the time required to transmit 255 pattern of 1111_1111_0000_0000 (eight ones followed by eight zeros) on the 4-kbit/s data link (M1-M12), the alarm is transmitted for 255 patterns. 2. If YEL[0] is a pulse width longer than the time required to transmit 255 patterns, the alarm continues until TYEL[0] goes low. 3. A second YEL[0] pulse during an alarm transmission resets the pattern counter and extends the alarm duration for another 255 patterns. 10 = In SF mode, yellow alarm is transmitted as a "1" for the Fs bit of frame 12, this is yellow alarm for J1 standard. In T1DM mode, yellow is transmitted to the remote terminal by setting the outgoing Y-bit to zero. In ESF mode, yellow alarm is controlled by the duration of YEL[1]. This allows continuous alarms of any length. 11 = Disable the transmission of yellow alarm. AIS Generation Select These Read/Write bit-fields are used to configure the channel to generate and transmit an AIS pattern, as described below. 00 = No AIS Alarm generated 01 = Enable unframed AIS alarm generation 10 = No AIS Alarm generated 11 = Enable framed AIS alarm generation AIS Pattern Detection Select These Read/Write bit-fields are used to specify the type of AIS pattern that the receive E1 framer block will detect as described below. 00 = Disabled 01 = Unframed AIS alarm detection 10 = AIS16 detection 11 = Unframed AIS alarm detection
5
YEL(1)
R/W
0
4
YEL(0)
R/W
0
3
AISG(1)
R/W
0
2
AISG(0)
R/W
0
1
AISD(1)
R/W
0
0
AISD(0)
R/W
0
46
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 18: SYNCHRONIZATION MUX REGISTER - E1 MODE
REGISTER 9 - E1 MODE
BIT FUNCTION TYPE
SYNCHRONIZATION MUX REGISTER (SMR)
DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0109
7-6
ESRC[1:0]
R/W
0
Source for E bits These bits determine where the E bits should be inserted from. 00 = Transparent, inserted from the status of receiver. 01 = 0. 10 = 1. 11 = Data link. Reserved Sync Inversion Select Selects the direction of the transmit sync and multisync signals. 0 = Syncs are input if the CSS(1:0) bits of CSR equal 01 (TxSerClk input is selected as the timing reference for the Transmit section of the framer); otherwise syncs are outputs 1 = Syncs are output if CSS(1:0) bits of CSR equal 01 (TxSerClk input is selected as the timing reference for the Transmit section of the framer); otherwise syncs are inputs Data Link Source Select Specifies the source of the Data Link bits that will be inserted in the outbound E1 frames. 00 = TxSER Input: Transmit Payload data Input port will be source of Data Link bits. 01 = TX HDLC Controller: Transmit HDLC Controller will generate either BOS (Bit Oriented Signaling) or MOS (Message Oriented Signaling) messages which will be inserted into the Data Link bit-fields in the outbound E1 frames. 10 = TxOH_n Input: Transmit Overhead data Input Port will be the source of the Data Link bits. 11 = TxSer_n Input: Transmit Payload data Input port will be the source of the Data Link Bits. CRC-4 Bits Source Select This Read/Write bit-field is used to configure the transmit section of the channel to use either internal generation or the TxSER_n input pin as the source of the CRC-4 bits inserted into the outbound frames. 0 = Internally Generated and inserted into E1 data stream internally. 1 = Tx_SER Input: Transmit Payload data Input port will be source of CRC-4 bits. NOTE: This bit-field is ignored if CRC Multiframe Alignment is disabled Framing Alignment Bits Source Select Specifies source of the Framing Alignment bits, which include FAS alignment bits, multiframe alignment bits, E and A bits. 0 = Internally generated and inserted into the outbound E1 frames. 1 = TxSer_n Input: Transmit Serial Input port will be source of the FAS bits, CRC Multiframe Alignments and the E and A bits.
5
Reserved
-
-
4
SYNC INV
R/W
0
3
DLSRC(1)
R/W
0
2
DLSRC(0)
R/W
0
1
CRCSRC
R/W
0
0
FSRC
R/W
0
47
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 19: SYNCHRONIZATION MUX REGISTER - T1 MODE
REGISTER 9 - T1 MODE
BIT 7 FUNCTION Reserved TYPE -
REV. P1.0.1
SYNCHRONIZATION MUX REGISTER (SMR)
DEFAULT Reserved DESCRIPTION-OPERATION
HEX ADDRESS: 0X0109
6
MFRAMEALIGN
R/W
0
Multiframe Alignment This bit forces transmit frame counter aligns with the backplane multiframe sync. 0 = The multiframe alignment is not enforced from backplane interface. 1 = The transmit multiframe is aligned with the incoming backplane multiframe timing. Tx Super Frame Sync This bit selects the transmit input sync signal from either the frame sync or superframe sync signals. 0 = Sync input (TxSync) is a frame sync. In 1.544MHz clock mode, TxMSync is used, in other clock mode, TxMsync is an input transmit clock. 1 = Sync input is a superframe sync. Sync Inversion Select This bit changes the direction of transmit sync and multi-sync signals. 0 = The syncs are inputs if CSS bits of CSR equal to 1, otherwise, syncs are outputs. 1 = The syncs are outputs if CSS bits of CSR equal to 1, otherwise, syncs are inputs. Reserved CRC-6 Bits Source Select This bit determines where the CRC-6 bits should be inserted from. 0 = The CRC-6 bits are generated and inserted internally. 1 = The CRC-6 bits are passed through from the input serial data only when IOMUX=0 and CSS < 3. NOTE: This bit-field is ignored if CRC Multiframe Alignment is disabled Framing Alignment Bits Source Select Determines where the framing alignment bits should be inserted from. 0 = The framing alignment bits are inserted internally. 1 = The framing alignment bits are passed through from the input serial data only when IOMUX=0 and CSS < 3.
5
MSYNC
R/W
O
4
SYNC INV
R/W
0
3 - 2 Reserved
-
-
1
CRCSRC
R/W
0
0
FSRC
R/W
0
48
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 20: TRANSMIT SIGNALING AND DATA LINK SELECT REGISTER - E1 MODE
REGISTER 10 - E1 MODE TRANSMIT SIGNALING AND DATA LINK SELECT REGISTER (TSDLSR)
BIT FUNCTION TYPE DEFAULT
HEX ADDRESS:0X010A
DESCRIPTION-OPERATION Specifies if the Sa8 bit-field (bit 7 within timeslot 0 of non-FAS frames) will be involved in the transport of Data Link Information 0 = Data Link Interface does not use Sa8 bit-field. Sa8 bit-field within each outbound non-FAS frame will be set to 1. 1 = Data Link Interface uses Sa8 bit-field. NOTE: This bit-field is only active when the TxSIGDL[2:0] bits within this register are set to 00x. This bit-field is ignored in all other case. Specifies if the Sa7 bit-field (bit 6 within timeslot 0 of non-FAS frames) will be involved in the transport of Data Link Information 0 = Data Link Interface does not use Sa7 bit-field. Sa7 bit-field within each outbound non-FAS frame will be set to 1. 1 = Data Link Interface uses Sa7 bit-field. NOTE: This bit-field is only active when the TxSIGDL[2:0] bits within this register are set to 00x. This bit-field is ignored in all other cases. Specifies if the Sa6 bit-field (bit 5 within timeslot 0 of non-FAS frames) will be involved in the transport of Data Link Information 0 = Data Link Interface does not use Sa6 bit-field. Sa6 bit-field within each outbound non-FAS frame will be set to 1. 1 = Data Link Interface uses Sa6 bit-field. NOTE: This bit-field is only active when the TxSIGDL[2:0] bits within this register are set to 00x. This bit-field is ignored in all other case. Specifies if the Sa5 bit-field (bit 4 within timeslot 0 of non-FAS frames) will be involved in the transport of Data Link Information 0 = Data Link Interface does not use Sa5 bit-field. Sa5 bit-field within each outbound non-FAS frame will be set to 1. 1 = Data Link Interface uses Sa5 bit-field. NOTE: This bit-field is only active when the TxSIGDL[2:0] bits within this register are set to 00x. This bit-field is ignored in all other case. Specifies if the Sa4 bit-field (bit 3 within timeslot 0 of non-FAS frames) will be involved in the transport of Data Link Information 0 = Data Link Interface does not use Sa4 bit-field. Sa4 bit-field within each outbound non-FAS frame will be set to 1. 1 = Data Link Interface uses Sa4 bit-field. NOTE: This bit-field is only active when the TxSIGDL[2:0] bits within this register are set to 00x. This bit-field is ignored in all other case. These three Read/Write bits are used to specify the type of data that is to be transported via D/E channel, National Bits in timeslot 0 of the non-FAS frames, and Timeslot 16 in the outbound frames. D/E Channel 0xx = Fractional Input 1xx = Serial Signaling Input National Bits (Sa4-8) 000 = Data Link Data inserted into National bits 001 = Data Link Data inserted into National bits 010 = National bits forced to 1, not used to carry data link data 011 = None (forced to 1) 1xx = Data Link Data inserted into National bits Timeslot 16 000 = Timeslot 16 is taken directly from PCM 001 = CAS Signaling bits A,B,C,D (per time slot) 010 = CCS Signaling bits A,B,C,D 011 = CAS Signaling bits A,B,C,D (per time slot) 1xx = Timeslot 16 is taken directly from PCM
7
TxSa8ENB
R/W
0
6
TxSa7ENB
R/W
0
5
TxSa6ENB
R/W
0
4
TxSa5ENB
R/W
0
3
TxSa4ENB
R/W
0
2 1
TxSIGDL(2) TxSIGDL(1)
R/W R/W
0 0
0
TxSIGDL(0)
R/W
0
49
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 21: TRANSMIT SIGNALING AND DATA LINK SELECT REGISTER - T1 MODE
REGISTER 10 - T1 MODE
BIT 7 6 5 4 3 FUNCTION Reserved Reserved TxDLBW[1] TxDLBW[0] TxDE[1]
REV. P1.0.1
TRANSMIT SIGNALING AND DATA LINK SELECT REGISTER (TSDLSR)
TYPE R/W R/W R/W R/W DEFAULT 0 0 0 0 Reserved Reserved
HEX ADDRESS:0X010A
DESCRIPTION-OPERATION
Data Link Bandwidth 00 = FDL is a 4kHz data link channel 01 = FDL is a 2kHz data link channel carried by odd framing bits (1,5,9....) 10 = FDL is a 2kHz data link channel carried by even framing bits(3,7,11...) DE Select 00 = The D/E time slots are inserted from TxSER. 01 = The D/E time slots are inserted from the LAPD controller. 10 = The D/E time slots are inserted from the serial signaling input. 11 = The D/E time slots are inserted from the fractional input. DL Select 00 = LAPD Controller/SLC96 Buffer. The data link bits are inserted from the LAPD controller. (LAPD1 is the only controller that can be used to transport LAPD messages through the data link bits) 01 = Serial Input. The data link bits are inserted from serial data input. 10 = Overhead Input. The data link bits are inserted from overhead input. 11 = None (forced to 1). The data link bits are forced to 1.
2
TxDE[0]
R/W
0
1
TxDL[1]
R/W
0
0
TxDL[0]
R/W
0
50
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 22: FRAMING CONTROL REGISTER E1 MODE
REGISTER 11 -- E1 MODE
BIT FUNCTION TYPE
FRAMING CONTROL REGISTER (FCR)
DEFAULT
HEX ADDRESS: 0X010B
DESCRIPTION-OPERATION Force Re-Synchronization A 0 to 1 transition in this bit-field forces the Receive E1 Framer to restart the synchronization process. This bit field is automatically cleared (set to 0) after frame synchronization is reached. Loss of CAS Multiframe Alignment Criteria Select These two Read/Write bits are used to select the Loss of CAS Multi-frame Alignment Declaration criteria. The relationship between the state of these two bit fields and the corresponding Loss of CAS Multi-Frame is presented below. 00 = Two consecutive CAS Multi-Frames with Multiframe Alignment Signal (MAS) errors 01 = Three consecutive CAS Multi-Frames with MAS errors 10 = Four consecutive CAS Multi-Frames with MAS errors 11 = Eight consecutive CAS Multi-Frames with MAS errors NOTE: These bits are only active if Channel Associated Signaling is used. Loss of CRC-4 Multiframe Alignment Criteria Select Selects criteria for Loss of CRC-4 Multiframe Alignment. 00 = Four consecutive CRC Multiframe Alignment signals have been received in error 01 = Two consecutive CRC Multiframe Alignment signals have been received in error 10 = Eight consecutive CRC Multiframe Alignment signals have been received in error 11 = 915 or more CRC-4 errors have been detected in one second. NOTE: These bit-fields are ignored if CRC Multiframe Alignment has been disabled. Loss of FAS Alignment Criteria Select These three Read/Write bits are used to select Loss of FAS Frame Declaration criteria. The relationship between the state of these bits and the corresponding Loss of FAS Frame declaration is presented below. 000 = Illegal - do not use 001 = 1 errored FAS pattern 010 = 2 consecutive errored FAS patterns 011 = 3 consecutive errored FAS patterns 100 = 4 consecutive errored FAS patterns 101 = 5 consecutive errored FAS patterns 110 = 6 consecutive errored FAS patterns 111 = 7 consecutive errored FAS patterns
7
RSYNC
R/W
0
6
CASC(1)
R/W
0
5
CASC(0)
R/W
0
4
CRCC(1)
R/W
0
3
CRCC(0)
R/W
0
2 1
FASC(2) FASC(1)
R/W R/W
0 1
0
FASC(0)
R/W
1
51
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 23: FRAMING CONTROL REGISTER T1 MODE
REGISTER 11 -- T1 MODE
BIT FUNCTION TYPE
REV. P1.0.1
FRAMING CONTROL REGISTER (FCR)
DEFAULT
HEX ADDRESS: 0X010B
DESCRIPTION-OPERATION Force Re-Synchronization A 0 to 1 transition in this bit-field forces the Receive DS1 Framer to restart the synchronization process. This bit field is automatically cleared (set to 0) after frame synchronization is reached. Sync with CRC verification in ESF. (Assuming only one Ft sync candidate exists.) 0 = No CRC match test 1 = Include CRC match test as part of Synchronization criteria. Tolerance Bits [2:0] The Tolerance (TOLR) and Range (RANG) form the criteria for loss of frame alignment. A loss of frame is declared if there is "TOLR out of RANG" errors in the framing pattern. The recommended TOLR value is 2. NOTE: A "0" value for TOLR is internally blocked. A TOLR value must be specified. Range Bits [2:0] The Tolerance (TOLR) and Range (RANG) form the criteria for loss of frame alignment. A loss of frame is declared if there is "TOLR out of RANG" errors in the framing pattern. The recommended RANG value is 5. NOTE: A "0" value for RANG is internally blocked. A RANG value must be specified.
7
RSYNC
R/W
0
6
CRCENB/ ONEONLY
R/W
0
5 4 3 2 1 0
TOLR[2] TOLR[1] TOLR[0] RANG[2] RANG[1] RANG[0]
R/W R/W R/W R/W R/W R/W
0 1 0 1 0 1
52
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 24: RECEIVE SIGNALING & DATA LINK SELECT REGISTER - E1 MODE
REGISTER 12 - E1 MODE RECEIVE SIGNALING & DATA LINK SELECT REGISTER (RS&DLSR)
BIT FUNCTION TYPE DEFAULT
HEX ADDRESS: 0X010C
DESCRIPTION-OPERATION This Read/Write bit is used to specify whether or not data link information will be transported via National Bit Sa8 (bit 7 within timeslot 0 of non-FAS frames) 0 = Sa8 does not carry data link information 1 = Sa8 carries data link information NOTE: This bit-field is valid only if the RxSIGDL[2:0] = "000" or "001". (The National bits have been configured to carry data link bits). This Read/Write bit is used to specify whether or not data link information will be transported via National Bit Sa7 (bit 6 within timeslot 0 of non-FAS frames) 0 = Sa7 does not carry data link information 1 = Sa7 carries data link information NOTE: This bit-field is valid only if the RxSIGDL[2:0] = "000" or "001". (The National bits have been configured to carry data link bits). This Read/Write bit is used to specify whether or not data link information will be transported via National Bit Sa6 (bit 5 within timeslot 0 of non-FAS frames) 0 = Sa6 does not carry data Link information 1 = Sa6 carries data link information NOTE: This bit-field is valid only if the RxSIGDL[2:0] = "000" or "001". (The National bits have been configured to carry data link bits). This Read/Write bit is used to specify whether or not data link information will be transported via National Bit Sa5 (bit 4 within timeslot 0 of non-FAS frames) 0 = Sa5 does not carry data link information 1 = Sa5 carries data link information NOTE: This bit-field is valid only if the RxSIGDL[2:0] = "000" or "001". (The National bits have been configured to carry data link bits). This Read/Write bit is used to specify whether or not data link information will be transported via National Bit Sa4 (bit 3 within timeslot 0 of non-FAS frames) 0 = Sa4 does not carry data link information 1 = Sa4 carries data link information NOTE: This bit-field is valid only if the RxSIGDL[2:0] = "000" or "001". (If the National bits have been configured to carry data link bits). These three Read/Write bits are used to specify the type of data that is to be extracted via D/E channel, National Bits in timeslot 0 of the non-FAS frames, and Timeslot 16 in the outbound frames. D/E Channel 0xx = Fractional Output 1xx = Serial Signaling Output National Bits (Sa4-8) 000 = Data Link Data extracted from National bits 001 = Data Link Data extracted from National bits 010 = National bits forced to 1, not used to carry data link data 011 = None (forced to 1) 1xx = Data Link Data extracted from National bits Timeslot 16 000 = Timeslot 16 is taken directly from PCM 001 = CAS Signaling bits A,B,C,D (per time slot) 010 = CCS Signaling bits A,B,C,D 011 = CAS Signaling bits A,B,C,D (per time slot) 1xx = Timeslot 16 is taken directly from PCM
7
RxSa8ENB
R/W
0
6
RxSa7ENB
R/w
0
5
RxSa6ENB
R/W
0
4
RxSa5ENB
R/W
0
3
RxSa4ENB
R/W
0
2 1
RxSIGDL(2) RxSIGDL(1)
R/W R/W
0 0
0
RxSIGDL(0)
R/W
0
53
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 25: RECEIVE SIGNALING & DATA LINK SELECT REGISTER (RS&DLSR) T1 MODE REGISTER 12 - T1 MODE
BIT 7 6 5 4 3 FUNCTION Reserved Reserved RxDLBW[1] RxDLBW[0] RxDE[1]
REV. P1.0.1
RECEIVE SIGNALING & DATA LINK SELECT REGISTER (RS&DLSR)
TYPE R/W R/w R/W DEFAULT 0 0 0 Reserved Reserved
HEX ADDRESS: 0X010C
DESCRIPTION-OPERATION
Data Link Bandwidth 00 = FDL is a 4kHz data link channel. 01 = FDL is a 2kHz data link channel carried by old framing bits(1,5,9,....). 10 = FDL is a 2kHz data link channel carried by even framing bits(3,7,11,....). DE Select 00 = The D/E time slots are output to RxSER. 01 = The D/E time slots are output to the LAPD controller. 10 = The D/E time slots are output to the serial signaling output. 11 = The D/E time slots are output to the fractional output. DL Select 00 = LAPD Controller/SLC96 Buffer. The data link bits are extracted from the LAPD controller. (LAPD1 is the only controller that can be used to extract LAPD messages through the data link bits) 01 = Serial Input. The data link bits are extracted to the serial data output. 10 = Overhead Input. The data link bits are extracted to the overhead output. 11 = None (forced to 1). The data link bits are forced to 1.
2
RxDE[0]
R/W
0
1
RxDL[1]
R/W
0
0
RxDL[0]
R/W
0
TABLE 26: SIGNALING CHANGE REGISTER 0 - T1 MODE
REGISTER 13 - T1/E1 MODE
BIT 7 6 5 4 3 2 1 0 Ch. 0 Ch. 1 Ch.2 Ch.3 Ch.4 Ch.5 Ch.6 Ch.7 FUNCTION TYPE RUR RUR RUR RUR RUR RUR RUR RUR
SIGNALING CHANGE REGISTER 0 (SCR 0)
DEFAULT 0 0 0 0 0 0 0 0 DESCRIPTION-OPERATION
HEX ADDRESS: 0X010D
These Reset Upon Read bits indicate whether the signaling data associated with Channels 0-7 has changed since the last read of this register. 0 = Signaling data has not changed since last read of register 1 = Signaling data has changed since last read of register NOTE: For E1, Ch. 0 is not applicable since it carries FAS and National Bits in alternating frames. This register is only relevant if the Framing Channel is using Channel Associated Signaling
54
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 27: SIGNALING CHANGE REGISTER 1
REGISTER 14 T1/E1 MODE
BIT 7 6 5 4 3 2 1 0 Ch.8 Ch.9 Ch.10 Ch.11 Ch.12 Ch.13 Ch.14 Ch.15 FUNCTION TYPE RUR RUR RUR RUR RUR RUR RUR RUR
SIGNALING CHANGE REGISTER 1 (SCR 1)
DEFAULT 0 0 0 0 0 0 0 0 DESCRIPTION-OPERATION
HEX ADDRESS: 0X010E
These Reset Upon Read bits indicate whether the signaling data associated with Channels 8-15 has changed since the last read of this register. 0 = Signaling data has not changed since last read of register 1 = Signaling data has changed since last read of register NOTE: This register is only relevant if the Framing Channel is using Channel Associated Signaling
TABLE 28: SIGNALING CHANGE REGISTER 2
REGISTER 15 T1/E1 MODE
BIT 7 6 5 4 3 2 1 0 FUNCTION Ch.16 Ch.17 Ch.18 Ch.19 Ch.20 Ch.21 Ch.22 Ch.23 TYPE RUR RUR RUR RUR RUR RUR RUR RUR
SIGNALING CHANGE REGISTER 2 (SCR 2)
DEFAULT 0 0 0 0 0 0 0 0 DESCRIPTION-OPERATION
HEX ADDRESS: 0X010F
These Reset Upon Read bits indicate whether the signaling data associated with Channels 16-23 has changed since the last read of this register. 0 = Signaling data has not changed since last read of register 1 = Signaling data has changed since last read of register NOTE: This register is only relevant if the Framing Channel is using Channel Associated Signaling
55
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 29: SIGNALING CHANGE REGISTER 3
REGISTER 16 - E1 MODE
BIT 7 6 5 4 3 2 1 0 Ch.24 Ch.25 Ch.26 Ch.27 Ch.28 Ch.29 Ch.30 Ch.31 FUNCTION TYPE RUR RUR RUR RUR RUR RUR RUR RUR
REV. P1.0.1
SIGNALING CHANGE REGISTER 3 (SCR 3)
DEFAULT 0 0 0 0 0 0 0 0
HEX ADDRESS: 0X0110
DESCRIPTION-OPERATION These Reset Upon Read bits indicate whether the signaling data associated with Channels 24-31 has changed since the last read of this register. 0 = Signaling data has not changed since last read of register 1 = Signaling data has changed since last read of register NOTE: This register is only relevant if the Framing Channel is using Channel Associated Signaling
TABLE 30: RECEIVE NATIONAL BITS REGISTER
REGISTER 17
BIT FUNCTION TYPE
RECEIVE NATIONAL BITS REGISTER (RNBR)
DEFAULT
HEX ADDRESS: 0X0111
DESCRIPTION-OPERATION Received International Bit - FAS Frame This Read Only bit-field contains the value of the International Bit in the most recently received FAS frame Received International Bit - Non FAS Frame This Read Only bit-field contains the value of the International Bit in the most recently received non-FAS frame Received FAS Yellow Alarm This Read Only bit-field contains the value in the Remote Alarm bit-field (frame Yellow Alarm) within the non-FAS frame. Received National Bits These Read Only bit-fields contain the values of the National bits within the most recently received non-FAS frame.
7
Si_FAS
RO
x
6
Si_nonFAS
RO
x
5
R_ALARM
RO
x
4 3 2 1 0
Sa4 Sa5 Sa6 Sa7 Sa8
RO RO RO RO RO
x x x x x
56
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 31: RECEIVE EXTRA BITS REGISTER
REGISTER 18
BIT FUNCTION TYPE
RECEIVE EXTRA BITS REGISTER (REBR)
DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0112
7
IF Detection
RO
0
In Frame Detection (DS1/E1) This register bit is used to indicate whether the receive framer is In Frame or out of Frame. 0 = Out of Frame 1 = In Frame Reserved Extra Bit 1 Corresponds to value in bit 5 within timeslot 16 of frame 0 of the signaling multiframe CAS Multi-Frame Yellow Alarm Corresponds to value in bit 6(CAS Multiframe Yellow Alarm) within timeslot 16 of frame 0 of the signaling multiframe. 0 = Remote E1 transmitting terminal is not sending CAS Multiframe Yellow Alarm 1 = Remote E1 transmitting terminal is sending CAS Multiframe Yellow Alarm Extra Bit 2 Corresponds to value in Bit 7 within timeslot 16 of frame 0 of the signaling multiframe Extra Bit 3 Corresponds to value in Bit 8 within timeslot 16 of frame 0 of the signaling multiframe
6-4
Reserved
-
-
3
EX1
RO
x
2
ALARMFE
RO
x
1
EX2
RO
x
0
EX3
RO
x
NOTE: The value of bits [3:0] within this register only have meaning if the framer is using Channel Associated Signaling.
57
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 32: DATA LINK CONTROL REGISTER
REGISTER 19
BIT FUNCTION TYPE
REV. P1.0.1
DATA LINK CONTROL REGISTER 1 (DLCR1)
DEFAULT DESCRIPTION-OPERATION SLC(R)96 Enable, 6 bit for ESF
HEX ADDRESS: 0X0113
7
SLC-96
R/W
0
If SLC(R)96 framing is selected, setting this bit high will enable SLC(R)96 data link transmission; Otherwise, the regular SF framing bits are transmitted. In ESF framing mode, setting this bit high will cause facility data link to transmit/receive SLC(R)96-like message. MOS Abort Enable/Disable Select This Read/Write bit-field is used to configure the transmit HDLC1 controller to automatically transmit an abort sequence anytime it transitions from the MOS mode to the BOS mode. 0 = Transmit HDLC1 Controller inserts an MOS abort sequence if the MOS message is interrupted 1 = Prevents Transmit HDLC1 Controller from inserting an MOS abort sequence. Receive FCS Verification Disable Enables/Disables Receive HDLC1 Controller's computation and verification of the FCS value in the incoming LAPD message frame 0 = Verifies FCS value of each MOS frame. 1 = Does not verify FCS value of each MOS frame. Auto Receive LAPD Message Configures the Rx HDLC1 Controller to discard any incoming LAPD Message frame that exactly match which is currently stored in the Rx HDLC1 buffer. 0 = Disabled 1 = Enables this feature. Transmit ABORT Configures the Tx HDLC1 Controller to transmit an ABORT sequence (string of 7 or more consecutive 1's) to the Remote terminal. 0 = Tx HDLC1 Controller operates normally 1 = Tx HDLC1 Controller inserts an ABORT sequence into the data link channel. Transmit Idle (Flag Sequence Byte) Configures the Tx HDLC1 controller to transmit a string of Flag Sequence octets (0X7E) in the data link channel to the Remote terminal. 0 = Tx HDLC1 Controller resumes transmitting data to the Remote terminal 1 = Tx HDLC1 Controller transmits a string of Flag Sequence bytes. NOTE: This bit-field is ignored if the Tx HDLC1 controller is operating in the BOS Mode - bit-field 0(MOS/BOS) within this register is set to 0. Transmit LAPD Message with FCS Configure HDLC1 Controller to include/not include FCS octets in the outbound LAPD message frames. 0 = Does not include FCS octets into the outbound LAPD message frame. 1 = Inserts FCS octets into the outbound LAPD message frame. NOTE: This bit-field is ignored if the transmit HDLC1 controller has been configured to operate in the BOS mode. Message Oriented Signaling/Bit Oriented Signaling Select Specifies whether the TxRx HDLC1 Controller will be transmitting and receiving LAPD message frames (MOS) or Bit Oriented Signal (BOS) messages. 0 = Tx/Rx HDLC1 Controller transmits and receives BOS messages. 1 = Tx/Rx HDLC1 Controller transmits and receives MOS messages.
6
MOSA
R/W
0
5
Rx_FCS_DIS
R/W
0
4
AutoRx
R/W
0
3
Tx_ABORT
R/W
0
2
Tx_IDLE
R/W
0
1
Tx_FCS_EN
R/W
0
0
MOS/BOS
R/W
0
58
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 33: TRANSMIT DATA LINK BYTE COUNT REGISTER
REGISTER 20
BIT FUNCTION
TRANSMIT DATA LINK BYTE COUNT REGISTER 1 (TDLBCR1)
TYPE DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0114
7
BUFAVAL//BUFSEL
R/W
0
Transmit HDLC1 Buffer Available/Buffer Select Specifies which of the two Tx HDLC1 Buffers that the Tx HDLC1 controller should read from to generate the next outbound HDLC1 message. 0 = transmits message data residing in Tx HDLC1 Buffer 0. 1 = transmits message data residing in Tx HDLC1 buffer 1. NOTE: If one of these Tx HDLC1 buffers contain a message which has yet to be completely read-in and processed for transmission by the Tx HDLC1 controller, then this bit-field will automatically reflect the value corresponding to the available buffer. Changing this bit-field to the in-use buffer is not permitted. Transmit HDLC1 Message - Byte Count Depends on whether an MOS or BOS message is being transmitted to the Remote Terminal Equipment If BOS message is being transmitted: These bit fields contain the number of repetitions the BOS message must be transmitted before the Tx HDLC1 controller generates the TxEOT interrupt and halts transmission. If these fields are set to 00000000, then the BOS message will be transmitted for an indefinite number of times. If MOS message is being transmitted: These bit fields contain the length, in number of octets, of the message to be transmitted.
6 5 4 3 2 1 0
TDLBC6 TDLBC5 TDLBC4 TDLBC3 TDLBC2 TDLBC1 TDLBC0
R/W R/W R/W R/W R/W R/W R/W
0 0 0 0 0 0 0
TABLE 34: RECEIVE DATA LINK BYTE COUNT REGISTER
REGISTER 21
BIT FUNCTION
RECEIVE DATA LINK BYTE COUNT REGISTER 1 (RDLBCR1)
TYPE DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0115
7
RBUFPTR
R/W
0
Receive HDLC1 Buffer-Pointer Identifies which RxHDLC1 buffer contains the newly received HDLC1 message. 0 = HDLC1 message is stored in Rx HDLC1 Buffer 0. 1 = HDLC1 message is stored in Rx HDLC1 Buffer 1.
6 5 4 3 2 1 0
RDLBC6 RDLBC5 RDLBC4 RDLBC3 RDLBC2 RDLBC1 RDLBC0
R/W R/W R/W R/W R/W R/W R/W
0 0 0 0 0 0 0
Receive HDLC Message - byte count In MOS Mode These seven bit-fields contain the size in bytes of the HDLC1 message that has been extracted and written into the Rx HDLC1 buffer. In BOS Mode These bits should be set to the value of the message repetitions before each receive interrupt. If they are set to "0", no RxEOT interrupt will be generated.
59
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 35: SLIP BUFFER CONTROL REGISTER
REGISTER 22
BIT FUNCTION TYPE
REV. P1.0.1
SLIP BUFFER CONTROL REGISTER (SBCR)
DEFAULT
HEX ADDRESS: 0X0116
DESCRIPTION-OPERATION Selects slip buffer as a FIFO for all clock modes while TxClk and TxSerClk are synced. 0 = Buffer acts as slip buffer if enabled. 1 = Buffer acts as a FIFO. The data latency is dictated by FIFO Latency. Reserved Force Signaling Freeze Setting this bit "High" stops further signal updating until this bit is cleared. 1 = Signaling array is not updated. 0 = Signaling array is updated only if SB_ENB[1:0] = 01 or 10 Signal Freeze Enable This bit enables signaling freeze for one multiframe after buffer slipping. 1 = Signaling freeze is enabled. 0 = Signaling freeze is disabled. Slip Buffer (RxSync) Direction Select Allows RxSync output pin to be an input or an output. 0 = RxSync is an output pin 1 = RxSync is an input pin Slip Buffer Mode Select Selects mode of operation of slip buffer. 00 = Buffer is bypassed and RxSync and RxSERClk are outputs. 01 = Elastic store slip buffer enabled. RxSERClk is an input. 10 = Buffer acts as FIFO Data latency dictated by the setting within the FIFO Latency Register. RxSERClk is an input. 11 = Buffer is bypassed. RxSync and RxSERClk are outputs.
7
TxSB_ISFIFO
R/W
0
6-5
Reserved
-
-
4
SB_FORCESF
R/W
0
3
SB_SFENB
R/W
0
2
SB_SDIR
R/W
1
1
SB_ENB(1)
R/w
0
0
SB_ENB(0)
R/W
0
TABLE 36: FIFO LATENCY REGISTER
REGISTER 23
BIT 7-5 4-0 FUNCTION Reserved Latency TYPE R/W
FIFO LATENCY REGISTER (FFOLR)
DEFAULT 0 Reserved DESCRIPTION-OPERATION
HEX ADDRESS: 0X0117
Sets the distance between slip buffer read and slip buffer write pointers in FIFO mode.
60
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 37: DMA 0 (WRITE) CONFIGURATION REGISTER
REGISTER 24
BIT FUNCTION
DMA 0 WRITE CONFIGURATION REGISTER (D 0 WCR)
TYPE DEFAULT
HEX ADDRESS: 0X0118
DESCRIPTION-OPERATION DMA_0 Reset Resets transmit DMA 0 channel. 0 = Normal operation. 1 = A zero to one transition resets DMA channel_0. DMA_0 Enable Enables DMA_0 interface. 0 = Disables DMA_0 interface 1 = Enables DMA_0 interface Write Type Select Selects function of WR signal. 0 = WR functions as direction signal (indicates whether the current bus cycle is a read or write operation) and RD functions as a data strobe signal. 1 = WR functions as a write strobe signal and RD functions as configured in the DMA 1 configuration register. Reserved Channel Select Selects which channel, within the chip, is to use the DMA_0 (Write) interface. 000 = Channel 0 001 = Channel 1 001 = Channel 2 011 = Channel 3 100 = Channel 4 101 = Channel 5 110 = Channel 6 111 = Channel 7
7
DMA0 RST
R/W
0
6
DMA0 ENB
R/W
0
5
WR TYPE
R/W
0
4 - 3 Reserved 2 1 DMA0_CHAN(2) DMA0_CHAN(1)
R/W R/W
0 0
0
DMA0_CHAN(0)
R/W
0
61
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 38: DMA 1 (READ) CONFIGURATION REGISTER
REGISTER 25
BIT 7-6 FUNCTION Reserved
REV. P1.0.1
DMA 1 (READ) CONFIGURATION REGISTER (D1CR)
TYPE DEFAULT Reserved
HEX ADDRESS: 0X0119
DESCRIPTION-OPERATION
7
DMA1 RST
R/W
0
DMA_1 Reset Resets the DMA 1 Channel 0 = Normal operation. 1 = A zero to one transition resets DMA channel. DMA1_ENB Enables DMA_1 interface 0 = Disables DMA_1 interface 1 = Enables DMA_1 interface Selects the function of pRD_L signal. 0 = RD functions as a Read Strobe signal 11 = RD acts as a direction signal, WR works as a data strobe. Reserved Channel Select Selects which channel, within the chip, is to use the DMA_1 interface. 000 = Channel 0 001 = Channel 1 001 = Channel 2 011 = Channel 3 100 = Channel 4 101 = Channel 5 110 = Channel 6 111 = Channel 7
6
DMA1 ENB
R/W
0
5
RD TYPE
R/W
0
4 - 3 Reserved 2 1 DMA1_CHAN(2) DMA1_CHAN(1)
R/W R/W
0 0
0
DMA1_CHAN(0)
R/W
0
TABLE 39: INTERRUPT CONTROL REGISTER
REGISTER 26
BIT 7-3 FUNCTION Reserved TYPE -
INTERRUPT CONTROL REGISTER (ICR)
DEFAULT Reserved
HEX ADDRESS: 0X011A
DESCRIPTION-OPERATION
2
INT_WC_RUR
R/W
0
Interrupt Write-to-Clear or Reset-upon-Read Select Configures Interrupt Status bits to either Reset Upon Read or Write-to-Clear 0=Interrupt Status bit RUR 1=Interrupt Status bit Write-to-Clear Interrupt Enable Auto Clear 0=Interrupt Enable bits are not cleared after status reading 1=Interrupt Enable bits are cleared after status reading Interrupt Enable for Framer_n Enables Framer n for Interrupt Generation. 0 = Disables corresponding framer block for Interrupt Generation 1 = Enables corresponding framer block for Interrupt Generation
1
ENBCLR
R/W
0
0
INTRUP_ENB
R/W
0
62
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 40: LAPD SELECT REGISTER
REGISTER 27 LAPD SELECT REGISTER (LAPDSR)
TYPE DEFAULT -
HEX ADDRESS: 0X011B
BIT
FUNCTION
DESCRIPTION-OPERATION
[7:2] Reserved
These bits are reserved LAPD Select Bits [1:0] determine which HDLC controller has access to the Read/ Write registers 0x0600 and 0x0700 for storing or extracting LAPD messages. 00 = HDLC Controller 1 01 = HDLC Controller 2 10 = HDLC Controller 3 11 = HDLC Controller 1
[1:0] LAPDsel
R/W
0
TABLE 41: CUSTOMER INSTALLATION ALARM GENERATION REGISTER
REGISTER 28 - T1
BIT
CUSTOMER INSTALLATION ALARM GENERATION REGISTER (CIAGR)
TYPE DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X011C
FUNCTION
[7:4] Reserved
These bits are reserved CI Alarm Transmit (Only in ESF) Alarm Indication Signal-Customer Installation (AIS-CI) and Remote Alarm Indication-Customer Installation (RAI-CI) are intended for use in a network to differentiate between an issue within the network or the CI. AIS-CI is an all ones signal with an embedded signature of 01111100 11111111 right-to left which recurs at 386 bit intervals inthe DS-1 signal. 00 = No CI alarm generation 01 = Enable unframed AIS-CI alarm generation 10 = Enable RAI-CI generation 11 = No CI alarm generation CI Alarm Detect (Only in ESF) 00 = CI alarm detection is disabled 01 = Enable unframed AIS-CI alarm detection 10 = Enable RAI-CI detection 11 = CI alarm detection is disabled
[3:2] CIAG
R/W
0
[1:0] CIAD
R/W
0
63
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 42: PERFORMANCE REPORT CONTROL REGISTER
REGISTER 29 - T1
BIT FUNCTION
REV. P1.0.1
PERFORMANCE REPORT CONTROL (PRCR)
TYPE DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X011D
[7:2] Reserved
These bits are reserved Automatic Performance Control/Response Report These bits automatically generates a summary report of the PMON status so that it can be inserted into an out going LAPD message. 00 = No performance report issued 01 = Single performance report issued when a write of 00 follows by a write of 01 10 = Automatically issues a performance report every one second 11 = No performance report issued
[1:0] APCR
R/W
0
TABLE 43: GAPPED CLOCK CONTROL REGISTER
REGISTER 30 - T1/E1
BIT FUNCTION
GAPPED CLOCK CONTROL REGISTER (GCCR)
TYPE DEFAULT
HEX ADDRESS: 0X011E
DESCRIPTION-OPERATION
7
FrOutclk
R/W
0
Framer Output Clock Reference By default, the output clock reference on T1OSCCLK and E1OSCCLK output pins is 1.544MHz/2.048MHz respectively. By setting this bit to a "1", the output clock reference is 49.408MHz/ 65.536MHz for T1/E1 respectively. 0 = Standard T1/E1 Rate 1 = High-Speed Rate These bits are reserved Transmit Gapped Clock Interface This bit is used to select a gapped clock interface operating at 2.048Mbit/s in DS-1 mode. In this application, 63 gaps (missing data) are inserted so that the overall bit rate is reduced to 1.544Mbit/ s. (In this mode, TxMSYNC is used as the 2.048MHz Gapped Clock Input. TxSER is used as the 2.048MHz Gapped Data Input. TxSERCLK must be 1.544MHz.) 0 = Disabled 1 = Transmit gapped clock for the Transmit Path Receive Gapped Clock Interface This bit is used to select a gapped clock interface operating at 2.048Mbit/s in DS-1 mode. In this application, 63 gaps (missing data) are inserted so that the overall bit rate is reduced to 1.544Mbit/ s. (In this mode, RxSERCLK should be configured as an input so that a 2.048MHz Gapped Clock can be applied to the Framer block. RxSER is used as the 2.048MHz Gapped Data Output. The position of the gaps will be determined by the gaps placed in RxSERCLK by the user.) 0 = Disabled 1 = Receive gapped clock for the Receive Path
[6:2] Reserved
-
-
1
TxGCCR
R/W
0
0
RxGCCR
R/W
0
64
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 44: GAPPED CLOCK CONTROL REGISTER
REGISTER 31 - T1/E1
MULTIPLEXED ()
HEX ADDRESS: 0X011F
DESCRIPTION-OPERATION
BIT 7:2
FUNCTION Reserved
TYPE R/W
DEFAULT -
Reserved Multiplexed High-Speed Channel Control These bits are used to select which channel (the channel position can be chosen from 1 of 4 different time slots) within the High-Speed serial data is to be processed by the framer. The other three channels will be don't care bits, since this is a single channel device. This allows the XRT86L30 to be compatible with High-Speed modes such as HMVIP/H.100, etc. 00 = Channel 0 01 = Channel 1 10 = Channel 2 11 = Channel 3
1:0
MHSCCR[1:0]
R/W
00
65
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
Registers 0x1B thru 0x1F unused.
REV. P1.0.1
TABLE 45: TRANSMIT INTERFACE CONTROL REGISTER - E1 MODE
REGISTER 32 - E1 MODE
BIT 7 FUNCTION TxSyncFrD TYPE R/W
TRANSMIT INTERFACE CONTROL REGISTER (TICR)
DEFAULT 0 DESCRIPTION-OPERATION
HEX ADDRESS:0X0120
Tx Synchronous fraction data interface 0 = Fractional data Is clocked into the chip using TxChCLK 1 = Fractional data is clocked in to the chip using TxSerClk (ungapped). TxChn[4:0] still indicates the time slot number if TxFr2048 is not 1, TxIMODE[1:0] = 00, and TxMUXEN = 0. TxChClk is used as fractional data enable. Reserved Tx payload clock enable 1 = TxSerClk will output Tx clock with OH bit period blocked in 2.048Hz clock output mode. TxSync is Low In H.100 and HMVIP Mode 0 = TxSync is active "Low" 1 = TxSync is active "High" If TxMUXEN = 0 and TxIMODE[1:0] = 00 0 = TxChn[4:0] outputs the channel number as usual. 1 = TxChn[0]/TxSig inputs signaling information and TxChn[1]/TxFrTD will input fractional channel data in 2.048 Mbit mode. Note; This bit has no effect while either TxMUXEN = 1 or TxIMODE[1:0] = 00, TxChn[4:0] signals input TxSig and fractional data. Clock Inversion 0 = Data transition happens on rising edge of the transmit clocks. 1 = Data transition happens on falling edge of the transmit clocks. Mux Enable 0 = No channel multiplexing. 1 = Four channels are multiplexed in single serial stream. Tx Interface Mode selection This mode selection determines the interface speed. When TxMUXEN = 0, 00 = Transmit interface is taking data at a rate of 2.048Mbit/s. 01 = Transmit interface is taking data at a rate of 2.048Mbit/s. 10 = Transmit interface is taking data at a rate of 4.096Mbit/s. 11 = Transmit interface is taking data at a rate of 8.192Mbit/s. When TxMUXEN = 1, 00 = Reserved 01 = Transmit interface is taking data at a rate of 16.384Mbit/s from channel 0 and bit-demultiplexing into 4 channels from to the LIU outputs on channels 0 through 3. The TxSYNC pulse remains "High" during the first bit of each E1 frame. 10 = Transmit interface is taking data at a rate of 16.384Mbit/s from channel 0 and byte-demultiplexing into 4 channels from to the LIU outputs on channels 0 through 3 (HMVIP Mode). The TxSYNC pulse remains "High" during the last two bits of the previous E1 frame and the first two bits of the current E1 frame. 11 = Transmit interface is taking data at a rate of 16.384Mbit/s from channel 0 and byte-demultiplexing into 4 channels from to the LIU outputs on channels 0 through 3 (H.100 Mode). The TxSYNC pulse remains "High" during the last bit of the previous E1 frame and the first bit of the current E1 frame. NOTE: Channel 4 is de-multiplexed into the LIU outputs at channel 4 through 7.
6 5
Reserved TxPLClkEnb
R/W
0
TxSync is Low
R/W
0
4
TxFr2048
R/W
0
3
TxICLKINV
R/W
0
2
TxMUXEN
R/W
0
1 0
TxIMODE[1] TxIMODE[0]
R/W R/W
0 0
66
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 46: TRANSMIT INTERFACE CONTROL REGISTER - T1 MODE
REGISTER 32 - T1 MODE
BIT 7 FUNCTION TxSyncFrD TYPE R/W
TRANSMIT INTERFACE CONTROL REGISTER (TICR)
DEFAULT 0 DESCRIPTION-OPERATION
HEX ADDRESS:0X0120
Transmit Synchronous Fractional Data Interface 0 = Fractional data is clocked into the chip using TxChCLK 1 = Fractional data is clocked in to the chip using TxSerClk (ungapped). TxChn[4:0] still indicates the time slot number if TxFr1544 is not 1, TxIMODE[1:0] = 00, and TxMUXEN = 0. TxChClk is used as fractional data enable. Reserved Transmit Payload Clock Enable 1 = TxSerClk will output Tx clock with OH bit period blocked in 1.544MHz clock output mode. TxSync is Low In H.100 and HMVIP Mode 0 = TxSync is active "Low" 1 = TxSync is active "High" If TxMUXEN = 0 and TxIMODE[1:0] = 00 0 = TxChn[4:0] will output the channel number as usual. 1 = TxChn[0]/TxSig will input signaling information and TxChn[1]/TxFrTD will input fractional channel data in 1.544 Mbit mode. NOTE: This bit has no effect while either TxMUXEN = 1 or TxIMODE[1:0] = 00, TxChn[4:0] signals input TxSig and fractional data. Clock Inversion 0 = Data transition occurs on rising edge of the transmit clock. 1 = Data transition occurs on falling edge of the transmit clock. Mux Enable 0 = No channel multiplexing. 1 = Four channels are multiplexed in single serial stream. Tx Intf Mode selection This mode selection determines the interface speed. When TxMUXEN = 0 00 = Transmit interface is taking data at a rate of 1.544Mbit/s. 01 = Transmit interface is taking data at a rate of 2.048Mbit/s. 10 = Transmit interface is taking data at a rate of 4.096Mbit/s. 11 = Transmit interface is taking data at a rate of 8.192Mbit/s. When TxMUXEN = 1, 00 = Transmit interface is taking data at a rate of 12.352Mbit/s from channel 0 and bitdemultiplexing into 4 channels from to the LIU outputs on channels 0 through 3. The TxSYNC pulse remains "High" during the framing bit of each DS-1 frame. 01 = Transmit interface is taking data at a rate of 16.384Mbit/s from channel 0 and bitdemultiplexing into 4 channels from to the LIU outputs on channels 0 through 3. The TxSYNC pulse remains "High" during the framing bit of each DS-1 frame. 10 = Transmit interface is taking data at a rate of 16.384Mbit/s from channel 0 and bytedemultiplexing into 4 channels from to the LIU outputs on channels 0 through 3 (HMVIP Mode). The TxSYNC pulse remains "High" during the last two bits of the previous DS-1 frame and the first two bits of the current DS-1 frame. 11 = Transmit interface is taking data at a rate of 16.384Mbit/s from channel 0 and bytedemultiplexing into 4 channels from to the LIU outputs on channels 0 through 3 (H.100 Mode). The TxSYNC pulse remains "High" during the last bit of the previous DS-1 frame and the first bit of the current DS-1 frame. NOTE: Channel 4 is de-multiplexed into the LIU outputs at channel 4 through 7.
6 5
Reserved TxPLClkEnb
R/W
0
TxSync Is Low
0
4
TxFr1544
R/W
0
3
TxICLKINV
R/W
0
2
TxMUXEN
R/W
0
1 0
TxIMODE[1] TxIMODE[0]
R/W R/W
0 0
67
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 47: RECEIVE INTERFACE CONTROL REGISTER (RICR) - E1 MODE Register 33 - E1 Mode
BIT FUNCTION RxSyncFrD 7 TYPE R/W
REV. P1.0.1
RECEIVE INTERFACE CONTROL REGISTER (RICR)
DEFAULT 0 DESCRIPTION-OPERATION
0X0122
Rx synchronous fractional data interface 0 = Fractional data is clocked out from the chip using RxChCLK 1 = RxChClk is used to output fractional data enable instead of being fraction data clock. In this mode, fractional data is clocked out of the chip using RxSerClk (ungapped). RxChn still indicates the time slot number if RxFr2048 is not 1, RxIMODE[1:0] = 0, and RxMUXEN = 0. Reserved Rx Payload Clock Enable 1 = RxSerClk outputs Rx clock with OH bit period blocked while in 2.048MHz clock output mode. RxSync is low In H.100 and HMVIP Mode 1 = RxSync active low. 0 = RxSync active high.
6
Reserved RxPLClkEnb/
R/W
0
5
RxSyncislow
RxFr2048 4
R/W
0
Clock Inversion 1 = RxChn[0]/RxSig outputs signaling information, RxChn[1]/RxFrTD will output fractional channel data in 2.048 MHz mode and RxChn[2] will output the serial channel number of each time slot. 0 = RxChn[4:0] outputs the parallel channel number as usual. Clock Inversion 0 = Data transition happens on the rising edge of the transmit clocks. 1 = Data transition happens on the falling edge of the transmit clocks. Mux Enable 0 = No channel Multiplexing. 1 = Four channels are multiplexed in single serial stream. Rx Intf Mode Selection This mode selection determines the interface speed. When RxMUXEN = 0 00 = Receive interface is presenting data at a rate of 2.048Mbit/s. 01 = Receive interface is presenting data at a rate of 2.048Mbit/s. 10 = Receive interface is presenting data at a rate of 4.096Mbit/s. 11 = Receive interface is presenting data at a rate of 8.192Mbit/s. When RxMUXEN = 1 00 = Reserved 01 = Receive interface is taking data from the four LIU input channels 0 through 3 and byte-multiplexing into the serial output channel 0. The TxSYNC pulse remains "High" during the framing bit of each E1 frame. 10 = Receive interface is taking data from the four LIU input channels 0 through 3 and byte-multiplexing into the serial output channel 0 (HMVIP Mode). The TxSYNC pulse remains "High" during the last two bits of the previous E1 frame and the first two bits of the current E1 frame. 11 = Receive interface is taking data from the four LIU input channels 0 through 3 and byte-multiplexing into the serial output channel 0 (H.100 Mode). The TxSYNC pulse remains "High" during the last bit of the previous E1 frame and the first bit of the current E1 frame. NOTE: Channels 4 through 7 are multiplexed into the serial output at channel 4.
RxICLKINV 3
N/A
0
RxMUXEN 2
R/W
0
1
RxIMODE[1]
R/W
0 0
0
RxIMODE[0]
R/W
68
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 48: RECEIVE INTERFACE CONTROL REGISTER (RICR) - T1 MODE
Register 33 - T1 Mode
BIT FUNCTION RxSyncFrD TYPE R/W
RECEIVE INTERFACE CONTROL REGISTER (RICR)
DEFAULT 0 DESCRIPTION-OPERATION
0X0122
7
Rx synchronous fractional data interface 1 = RxChClk is used to output fractional data instead of being fraction data clock. In this mode, fractional data is clocked out of the chip using RxSerClk (ungapped). RxChn still indicates the time slot number if RxFr1544 is not 1, RxIMODE[1:0] = 00, and RxMUXEN = 0. RxCClk will be a valid signal for fractional data output (RxFrTD) if RxFr1544 is 1 or RxIMODE[1:0] = 00 or RxMUXEN = 0 Reserved Rx Payload Clock Enable 1 = RxSerClk will output Rx clock with OH bit period blocked while in 1.544MHz clock output mode. RxSync is low In H.100 and HMVIP Mode 1 =Rx Sync active low. 0 = RxSync active high.
6
Reserved RxPLClkEnb/
R/W
0
5
RxSyncislow
RxFr1544 4
R/W
0
Clock Inversion/RxSig 1 = RxChn[0]/RxSig outputs signaling information, RxChn[1]/RxFrTD will output fractional channel data in 1.544 MHz mode and RxChn[2] will output the serial channel number of each time slot. 0 = RxChn[4:0] outputs the parallel channel number as usual. Clock inversion 0 = Data transition happens on the rising edge of the transmit clocks. 1 = Data transition happens on the falling edge of the transmit clocks. Mux Enable 0 = No channel Multiplexing. 1 = Four channels are multiplexed in single serial stream. Rx Interface Mode selection This mode selection determines the interface speed. When RxMUXEN = 0, 00 = Receive interface is presenting data at a rate of 1.544Mbit/s. 01 = Receive interface is presenting data at a rate of 2.048Mbit/s. 10 = Receive interface is presenting data at a rate of 4.096Mbit/s. 11 = Receive interface is presenting data at a rate of 8.192Mbit/s. When RxMUXEN = 1, 00 = Receive interface is taking data from the four LIU input channels 0 through 3 and byte-multiplexing into a 12.352MHz serial output on channel 0. The TxSYNC pulse remains "High" during the framing bit of each DS-1 frame. 01 = Receive interface is taking data from the four LIU input channels 0 through 3 and byte-multiplexing into a 16.384MHz serial output on channel 0. The TxSYNC pulse remains "High" during the framing bit of each DS-1 frame. 10 = Receive interface is taking data from the four LIU input channels 0 through 3 and byte-multiplexing into a 16.384MHz serial output on channel 0 (HMVIP Mode). The TxSYNC pulse remains "High" during the last two bits of the previous DS-1 frame and the first two bits of the current DS-1 frame. 11 = Receive interface is taking data from the four LIU input channels 0 through 3 and byte-multiplexing into a 16.384MHz serial output on channel 0 (H.100 Mode). The TxSYNC pulse remains "High" during the last bit of the previous DS-1 frame and the first bit of the current DS-1 frame. NOTE: Channels 4 through 7 are multiplexed into the serial output at channel 4.
RxICLKINV 3
N/A
0
RxMUXEN 2
R/W
0
1
RxIMODE[1]
R/W
0 0
0
RxIMODE[0]
R/W
69
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 49: DS1 TEST REGISTER Register 34
BIT FUNCTION TYPE
REV. P1.0.1
DS1 Test Register (DS1TR)
DEFAULT PRBS Pattern Type DESCRIPTION-OPERATION
0x0123
7
PRBSTyp
R/W
0
0 = The (X15 + X14 +1) PBRS Polynomial is generated. 1 = QRTS (Quasi-Random Test Signal) Pattern is generated. Error Insertion 0 to 1 transition will cause one output bit inverted Reserved Lock Status 0 = Rx PRBS has not Locked. 1 = Rx PRBS has locked to the input patterns. Rx PRBS Generation Enable 0 = Receive PRBS checker is not enabled. 1 = Receive PRBS checker is enabled. Tx PRBS Generation Enable 0 = Tx PRBS generator is not enabled. 1 = Tx PRBS generator is enabled. Rx DS1 Framer Bypass 0 = Disabled 1 = Rx DS1 Framer Bypass Mode. Tx DS1 Framer Bypass 0 = Disabled 1 = Tx DS1 Framer Bypass Mode.
6 5
ERRORIns Reserved
R/W -
0 -
4
RxPRBSLock
R
0
3
RxPRBSEnb
R/W
0
2
TxPRBSEnb
R/W
0
1
RxDS1Bypass
R/W
0
0
TxDS1Bypass
R/W
0
70
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 50: LOOPBACK CODE CONTROL REGISTER
Register 35
BIT FUNCTION
LOOPBACK CODE CONTROL REGISTER (LCCR)
TYPE DEFAULT DESCRIPTION-OPERATION Receive Loopback Code Activation Length Determines the receive loopback code activation length. 00 = 4-bit sequence 01 = 5-bit sequence 10 = 6-bit sequence 11 = 7-bit sequence Receive Loopback Code Deactivation Length Determines the receive loopback code deactivation length 00 = 4-bit sequence 01 = 5-bit sequence 10 = 6-bit sequence 11 = 7-bit sequence Transmit Loopback Code Length Determines transmit loopback code length. 00 = 4-bit sequence 01 = 5-bit sequence 10 = 6-bit sequence 11 = 7-bit sequence Framed Loopback Code Selects either framed or unframed loopback code operation. 0 = Unframed 1 = Framed Loopback Automatically Enables loopback automatically. 0 = Automatic loopback is disabled 1 = Automatic loopback is enabled
0X0124
7-6
RXLBCDLEN[1:0]
R/W
0
5-4
RXLBCDLEN[1:0]
R/W
0
3-2
TXLBCDLEN[1:0]
R/W
0
1
FRAMED
R
0
0
AUTOENB
R/W
0
TABLE 51: TRANSMIT LOOPBACK CODER REGISTER Register 36
BIT 7-1 FUNCTION TXLBC[6:0]
Transmit Loopback Coder Register (TLCR)
TYPE R/W DEFAULT 1010101 DESCRIPTION-OPERATION Transmit Loopback Code Determines the transmit loopback coding sequence. Transmit Loopback Code Enable Enables loopback code generation. 0 = Transmit loopback code is disabled. 1 = Transmit loopback code is enabled
0x0125
0
TXLBCENB
R/W
0
71
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 52: RECEIVE LOOPBACK ACTIVATION CODE REGISTER Register 37
BIT 7-1 FUNCTION RXLBAC[6:0]
REV. P1.0.1
Receive Loopback Activation Code Register (RLACR)
TYPE R/W DEFAULT 1010101 DESCRIPTION-OPERATION Receive activation loopback code Determines the receive activation loopback coding sequence. Receive activation loopback code enable Enables receive loopback code activation detection. 0 = Receive loopback code activation detection is disabled. 1 = Receive loopback code activation detection is enabled
0x0126
0
RXLBACENB
R/W
0
TABLE 53: RECEIVE LOOPBACK DEACTIVATION CODE REGISTER Register 38
BIT 7-1 FUNCTION RXLBDC[6:0]
Receive Loopback Deactivation Code Register (RLDCR)
TYPE R/W DEFAULT 1010101 DESCRIPTION-OPERATION Receive deactivation loopback code Determines the receive deactivation loopback coding sequence. Receive deactivation loopback code enable Enables receive loopback code deactivation detection. 0 = Receive loopback code deactivation detection is disabled. 1 = Receive loopback code deactivation detection is enabled
0x0127
0
RXLBDCENB
R/W
0
72
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 54: TRANSMIT Sa SELECT REGISTER
Register 39
BIT FUNCTION
TRANSMIT Sa SELECT REGISTER (TSASR)
TYPE DEFAULT DESCRIPTION-OPERATION Sa8 bit Determines whether Sa8 is from serial input or register. 0 = Serial input. 1 = Sa8 register. Sa7 bit select Determines whether Sa7 is from serial input or register. 0 = Serial input. 1 = Sa7 register Sa6 bit select Determines whether Sa6 is from serial input or register. 0 = Serial input. 1 = Sa6 register Sa5 bit select Determines whether Sa5 is from serial input or register. 0 = Serial input. 1 = Sa5 register Sa4 bit select Determines whether Sa4 is from serial input or register. 0 = Serial input. 1 = Sa4 register
0x0130
7
TxSa8SEL
R/W
0
6
TxSa7SEL
R/W
0
5
TxSa6SEL
R/W
0
4
TxSa5SEL
R/W
0
3
TxSa4SEL
R/W
0
2
LB1ENB
R/W
0
Loopback 1 auto enable Local loopback is activated while the followings happened from the transmit serial input. Sa5 = 0 and Sa6 = 1111 occur for 8 consecutive times. A = 1 Loopback 2 auto enable Local loopback is activated while the followings happened from the transmit serial input. Sa5 = 0 and Sa6 = 1010 occur for 8 consecutive times. A = 1 Loopback release enable Local loopback is released while the followings happened from the transmit serial input. Sa5 = 0 and Sa6 = 0000 occur for 8 consecutive times.
1
LB2ENB
R/W
0
0
LBRENB
R/W
0
73
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 55: TRANSMIT Sa AUTO CONTROL REGISTER 1 Register 40
BIT 7 FUNCTION LOSLFA_1_ENB
REV. P1.0.1
TRANSMIT Sa AUTO CONTROL REGISTER 1 (TSACR1)
TYPE R/W DEFAULT 0 DESCRIPTION-OPERATION LOS/LFA 1 auto transmit
0x0131
6
LOS_1_ENB
R/W
0
LOS 1 auto transmit
5
LOSLFA_2_ENB
R/W
0
LOS/LFA 2 auto transmit
4
LOSLFA_3_ENB
R/W
0
LOS/LFA 3 auto transmit
3
LOSLFA_4_ENB
R/W
0
LOS/LFA 4 auto transmit
2
NOP_ENB
R/W
0
No power auto transmit
1
NOP_LOSLFA_ENB
R/W
0
No power and LOS/LFA auto transmit
0
LOS_2_ENB
R/W
0
LOS 3 auto transmit
The following table demonstrates the conditions on the receive side which trigger the actions while these bits are enabled.
TABLE 56: CONDITIONS ON RECEIVE SIDE WHEN TSACR1 BITS ARE ENABLED
ACTIONS - SENDING PATTERN CONDITIONS A LOSLFA_1_ENB: Loss of signal or Loss of frame alignment LOS_1_ENB: Loss of signal LOSLFA_2_ENB: LOS or LFA LOSLFA_3_ENB: LOS or LFA LOSLFA_4_ENB: LOS or LFA NOP_ENB: Loss of power NOP_LOSLFA_ENB: Loss of power and LOS or LFA LOS_2_ENB: LOS X SA5 1 SA6 0000 LOS/LFA at TE (FC2) COMMENTS
1 1 0 0 0 1
1 0 1 1 1 1
1110 0000 1100 1110 1000 1000
LOS (FC3) LOS/LFA (FCL) LOS/LFA (FC4) LOS/LFA (FC3&FC4) Loss of power at NT1 Loss of power and LOS/LFA
AUXP pattern
LOS (FC1). Transmit AUXP pattern
74
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 57: TRANSMIT Sa AUTO CONTROL REGISTER 2
Register 41
BIT 7 FUNCTION AIS_1_ENB
TRANSMIT Sa AUTO CONTROL REGISTER (TSACR2)
TYPE R/W DEFAULT 0 AIS reception DESCRIPTION-OPERATION
0x0132
6 5 4 3-2
AIS_2_ENB Reserved Reserved CRCREP_ENB
R/W R/W
0 0
AIS reception
Reserved Reserved CRC report
1
CRCDET_ENB
R/W
0
CRC detection
0
CRCREC/DET_ENB
R/W
0
CRC report and detect
The following table demonstrates the conditions on receive side which trigger the actions while these bit are enabled.
TABLE 58: CONDITIONS ON RECEIVE SIDE WHEN TSACR1 BITS ENABLED
ACTIONS - SENDING PATTERN FOR CONDITIONS A AIS_1_ENB AIS_2_ENB CRCREP_ENB = 01, CRC reported (E = 0) CRCREP_ENB = 10, CRC reported CRCREP_ENB = 11, CRC reported CRCDET_ENB CRCDET/REP_ENB 1 0 0 0 0 0 0 SA5 1 1 1 0 1 1 1 SA6 1111 1111 0000 0000 0001 0010 0011 E X x 0 0 1 1 1
TABLE 59: TRANSMIT Sa4 REGISTER Register 42
BIT FUNCTION TYPE
TRANSMIT Sa4 REGISTER (TSA4R)
DEFAULT DESCRIPTION-OPERATION
0x0133
7-0
TxSa4[7:0]
R/W
11111111
Sa4 The content of this register sources the transmit Sa4 bits while TxSa4ENB (register 0x010Ah) is 1 and TxSa4SEL (register 0x0130h) is 1. Bit 7 is transmitted in frame 2 of the CRC-4 multiframe, bit 6 is in frame 4, etc.
75
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 60: TRANSMIT Sa5 REGISTER Register 43
BIT FUNCTION TYPE
REV. P1.0.1
TRANSMIT Sa5 REGISTER (TSA5R)
DEFAULT DESCRIPTION-OPERATION
0x0134
7-0
TxSa5[7:0]
R/W
11111111
Sa5 The content of this register sources the transmit Sa5 bits while TxSa5ENB (register 0x010Ah) is 1 and TxSa5SEL (register 0x0130h) is 1. Bit 7 is transmitted in frame 2 of the CRC-4 multiframe, bit 6 is in frame 4, etc.
TABLE 61: TRANSMIT Sa6 REGISTER Register 44
BIT FUNCTION TYPE
TRANSMIT Sa6 REGISTER (TSA6R)
DEFAULT DESCRIPTION-OPERATION
0x0135
7-0
TxSa6[7:0]
R/W
11111111
Sa6 The content of this register sources the transmit Sa6 bits while TxSa6ENB (register 0x010Ah) is 1 and TxSa6SEL (register 0x0130h) is 1. Bit 7 is transmitted in frame 2 of the CRC-4 multiframe, bit 6 is in frame 4, etc.
TABLE 62: TRANSMIT Sa7 REGISTER Register 45
BIT FUNCTION TYPE
TRANSMIT Sa7 REGISTER (TSA7R)
DEFAULT DESCRIPTION-OPERATION
0x0136
7-0
TxSa7[7:0]
R/W
11111111
Sa7 The content of this register sources the transmit Sa7 bits while TxSa7ENB (register 0x010Ah) is 1 and TxSa7SEL (register 0x0130h) is 1. Bit 7 is transmitted in frame 2 of the CRC-4 multiframe, bit 6 is in frame 4, etc.
TABLE 63: TRANSMIT Sa8 REGISTER Register 46
BIT FUNCTION TYPE
TRANSMIT Sa8 REGISTER (TSA8R)
DEFAULT DESCRIPTION-OPERATION
0x0137
7-0
TxSa8[7:0]
R/W
11111111
Sa8 The content of this register sources the transmit Sa8 bits while TxSa8ENB (register 0x010Ah) is 1 and TxSa8SEL (register 0x0130h) is 1. Bit 7 is transmitted in frame 2 of the CRC-4 multiframe, bit 6 is in frame 4, etc.
76
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 64: RECEIVE SA4 REGISTER
Register 47
BIT FUNCTION TYPE
RECEIVE SA4 REGISTER (RSA4R)
DEFAULT DESCRIPTION-OPERATION
0x013B
7-0
RxSa4[7:0]
RO
11111111
Sa4 The content of this register stores the received Sa4 bits if RxSa4ENB (register 0x010Ch) is 1. Bit 7 is received in frame 2 of the CRC-4 multiframe, bit 6 is in frame 4, etc.
TABLE 65: RECEIVE SA5 REGISTER Register 48
BIT FUNCTION TYPE
RECEIVE SA5 REGISTER (RSA5R)
DEFAULT DESCRIPTION-OPERATION
0x013C
7-0
RxSa5[7:0]
RO
11111111
Sa5 The content of this register stores the received Sa5 bits if RxSa5ENB (register 0x010Ch) is 1. Bit 7 is received in frame 2 of the CRC-4 multiframe, bit 6 is in frame 4, etc.
TABLE 66: RECEIVE SA6 REGISTER
REGISTER 49
BIT FUNCTION TYPE
RECEIVE SA6 REGISTER (RSA6R)
DEFAULT DESCRIPTION-OPERATION
0X013D
7-0
RxSa6[7:0]
RO
11111111
Sa6 The content of this register stores the received Sa6 bits if RxSa6ENB (register 0x010Ch) is 1. Bit 7 is received in frame 2 of the CRC-4 multiframe, bit 6 is in frame 4, etc.
TABLE 67: RECEIVE SA7 REGISTER
REGISTER 50
BIT FUNCTION TYPE
RECEIVE SA7 REGISTER (RSA7R)
DEFAULT DESCRIPTION-OPERATION
0X013E
7-0
RxSa7[7:0]
RO
11111111
Sa7 The content of this register stores the received Sa7 bits if RxSa7ENB (register 0x010Ch) is 1. Bit 7 is received in frame 2 of the CRC-4 multiframe, bit 6 is in frame 4, etc.
TABLE 68: RECEIVE SA8 REGISTER
REGISTER 51
BIT FUNCTION TYPE
RECEIVE SA8 REGISTER (RSA8R)
DEFAULT DESCRIPTION-OPERATION
0X013F
7-0
RxSa8[7:0]
RO
11111111
Sa8 The content of this register stores the received Sa8 bits if RxSa8ENB (register 0x010Ch) is 1. Bit 7 is received in frame 2 of the CRC-4 multiframe, bit 6 is in frame 4, etc.
77
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 69: DATA LINK CONTROL REGISTER
REGISTER 52
BIT FUNCTION TYPE
REV. P1.0.1
DATA LINK CONTROL REGISTER 2 (DLCR2)
DEFAULT DESCRIPTION-OPERATION SLC(R)96 Enable, 6 bit for ESF
HEX ADDRESS: 0X0143
7
SLC-96
R/W
0
If SLC(R)96 framing is selected, setting this bit high will enable SLC(R)96 data link transmission; Otherwise, the regular SF framing bits are transmitted. In ESF framing mode, setting this bit high will cause facility data link to transmit/receive SLC(R)96-like message. MOS Abort Enable/Disable Select This Read/Write bit-field is used to configure the transmit HDLC2 controller to automatically transmit an abort sequence anytime it transitions from the MOS mode to the BOS mode. 0 = Transmit HDLC2 Controller inserts an MOS abort sequence if the MOS message is interrupted 1 = Prevents Transmit HDLC2 Controller from inserting an MOS abort sequence. Receive FCS Verification Disable Enables/Disables Receive HDLC2 Controller's computation and verification of the FCS value in the incoming LAPD message frame 0 = Verifies FCS value of each MOS frame. 1 = Does not verify FCS value of each MOS frame. Auto Receive LAPD Message Configures the Rx HDLC2 Controller to discard any incoming LAPD Message frame that exactly match which is currently stored in the Rx HDLC2 buffer. 0 = Disabled 1 = Enables this feature. Transmit ABORT Configures the Tx HDLC2 Controller to transmit an ABORT sequence (string of 7 or more consecutive 1's) to the Remote terminal. 0 = Tx HDLC2 Controller operates normally 1 = Tx HDLC2 Controller inserts an ABORT sequence into the data link channel. Transmit Idle (Flag Sequence Byte) Configures the Tx HDLC2 controller to transmit a string of Flag Sequence octets (0X7E) in the data link channel to the Remote terminal. 0 = Tx HDLC2 Controller resumes transmitting data to the Remote terminal 1 = Tx HDLC2 Controller transmits a string of Flag Sequence bytes. NOTE: This bit-field is ignored if the Tx HDLC2 controller is operating in the BOS Mode - bit-field 0(MOS/BOS) within this register is set to 0. Transmit LAPD Message with FCS Configure HDLC2 Controller to include/not include FCS octets in the outbound LAPD message frames. 0 = Does not include FCS octets into the outbound LAPD message frame. 1 = Inserts FCS octets into the outbound LAPD message frame. NOTE: This bit-field is ignored if the transmit HDLC2 controller has been configured to operate in the BOS mode. Message Oriented Signaling/Bit Oriented Signaling Select Specifies whether the TxRx HDLC2 Controller will be transmitting and receiving LAPD message frames (MOS) or Bit Oriented Signal (BOS) messages. 0 = Tx/Rx HDLC2 Controller transmits and receives BOS messages. 1 = Tx/Rx HDLC2 Controller transmits and receives MOS messages.
6
MOSA
R/W
0
5
Rx_FCS_DIS
R/W
0
4
AutoRx
R/W
0
3
Tx_ABORT
R/W
0
2
Tx_IDLE
R/W
0
1
Tx_FCS_EN
R/W
0
0
MOS/BOS
R/W
0
78
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 70: TRANSMIT DATA LINK BYTE COUNT REGISTER
REGISTER 53
BIT FUNCTION
TRANSMIT DATA LINK BYTE COUNT REGISTER 2 (TDLBCR2)
TYPE DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0144
7
BUFAVAL//BUFSEL
R/W
0
Transmit HDLC2 Buffer Available/Buffer Select Specifies which of the two Tx HDLC2 Buffers that the Tx HDLC2 controller should read from to generate the next outbound HDLC2 message. 0 = transmits message data residing in Tx HDLC2 Buffer 0. 1 = transmits message data residing in Tx HDLC2 buffer 1. NOTE: If one of these Tx HDLC2 buffers contain a message which has yet to be completely read-in and processed for transmission by the Tx HDLC2 controller, then this bit-field will automatically reflect the value corresponding to the available buffer. Changing this bit-field to the in-use buffer is not permitted. Transmit HDLC2 Message - Byte Count Depends on whether an MOS or BOS message is being transmitted to the Remote Terminal Equipment If BOS message is being transmitted: These bit fields contain the number of repetitions the BOS message must be transmitted before the Tx HDLC2 controller generates the TxEOT interrupt and halts transmission. If these fields are set to 00000000, then the BOS message will be transmitted for an indefinite number of times. If MOS message is being transmitted: These bit fields contain the length, in number of octets, of the message to be transmitted.
6 5 4 3 2 1 0
TDLBC6 TDLBC5 TDLBC4 TDLBC3 TDLBC2 TDLBC1 TDLBC0
R/W R/W R/W R/W R/W R/W R/W
0 0 0 0 0 0 0
TABLE 71: RECEIVE DATA LINK BYTE COUNT REGISTER
REGISTER 54
BIT FUNCTION
RECEIVE DATA LINK BYTE COUNT REGISTER 2 (RDLBCR2)
TYPE DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0145
7
RBUFPTR
R/W
0
Receive HDLC2 Buffer-Pointer Identifies which RxHDLC2 buffer contains the newly received HDLC2 message. 0 = HDLC2 message is stored in Rx HDLC2 Buffer 0. 1 = HDLC2 message is stored in Rx HDLC2 Buffer 1.
6 5 4 3 2 1 0
RDLBC6 RDLBC5 RDLBC4 RDLBC3 RDLBC2 RDLBC1 RDLBC0
R/W R/W R/W R/W R/W R/W R/W
0 0 0 0 0 0 0
Receive HDLC Message - byte count In MOS Mode These seven bit-fields contain the size in bytes of the HDLC2 message that has been extracted and written into the Rx HDLC2 buffer. In BOS Mode These bits should be set to the value of the message repetitions before each receive interrupt. If they are set to "0", no RxEOT interrupt will be generated.
79
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 72: DATA LINK CONTROL REGISTER
REGISTER 55
BIT FUNCTION TYPE
REV. P1.0.1
DATA LINK CONTROL REGISTER 3 (DLCR3)
DEFAULT DESCRIPTION-OPERATION SLC(R)96 Enable, 6 bit for ESF
HEX ADDRESS: 0X0153
7
SLC-96
R/W
0
If SLC(R)96 framing is selected, setting this bit high will enable SLC(R)96 data link transmission; Otherwise, the regular SF framing bits are transmitted. In ESF framing mode, setting this bit high will cause facility data link to transmit/receive SLC(R)96-like message. MOS Abort Enable/Disable Select This Read/Write bit-field is used to configure the transmit HDLC3 controller to automatically transmit an abort sequence anytime it transitions from the MOS mode to the BOS mode. 0 = Transmit HDLC3 Controller inserts an MOS abort sequence if the MOS message is interrupted 1 = Prevents Transmit HDLC3 Controller from inserting an MOS abort sequence. Receive FCS Verification Disable Enables/Disables Receive HDLC3 Controller's computation and verification of the FCS value in the incoming LAPD message frame 0 = Verifies FCS value of each MOS frame. 1 = Does not verify FCS value of each MOS frame. Auto Receive LAPD Message Configures the Rx HDLC3 Controller to discard any incoming LAPD Message frame that exactly match which is currently stored in the Rx HDLC3 buffer. 0 = Disabled 1 = Enables this feature. Transmit ABORT Configures the Tx HDLC3 Controller to transmit an ABORT sequence (string of 7 or more consecutive 1's) to the Remote terminal. 0 = Tx HDLC3 Controller operates normally 1 = Tx HDLC3 Controller inserts an ABORT sequence into the data link channel. Transmit Idle (Flag Sequence Byte) Configures the Tx HDLC3 controller to transmit a string of Flag Sequence octets (0X7E) in the data link channel to the Remote terminal. 0 = Tx HDLC3 Controller resumes transmitting data to the Remote terminal 1 = Tx HDLC3 Controller transmits a string of Flag Sequence bytes. NOTE: This bit-field is ignored if the Tx HDLC3 controller is operating in the BOS Mode - bit-field 0(MOS/BOS) within this register is set to 0. Transmit LAPD Message with FCS Configure HDLC3 Controller to include/not include FCS octets in the outbound LAPD message frames. 0 = Does not include FCS octets into the outbound LAPD message frame. 1 = Inserts FCS octets into the outbound LAPD message frame. NOTE: This bit-field is ignored if the transmit HDLC3 controller has been configured to operate in the BOS mode. Message Oriented Signaling/Bit Oriented Signaling Select Specifies whether the TxRx HDLC3 Controller will be transmitting and receiving LAPD message frames (MOS) or Bit Oriented Signal (BOS) messages. 0 = Tx/Rx HDLC3 Controller transmits and receives BOS messages. 1 = Tx/Rx HDLC3 Controller transmits and receives MOS messages.
6
MOSA
R/W
0
5
Rx_FCS_DIS
R/W
0
4
AutoRx
R/W
0
3
Tx_ABORT
R/W
0
2
Tx_IDLE
R/W
0
1
Tx_FCS_EN
R/W
0
0
MOS/BOS
R/W
0
80
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 73: TRANSMIT DATA LINK BYTE COUNT REGISTER
REGISTER 56
BIT FUNCTION
TRANSMIT DATA LINK BYTE COUNT REGISTER 3 (TDLBCR3)
TYPE DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0154
7
BUFAVAL//BUFSEL
R/W
0
Transmit HDLC3 Buffer Available/Buffer Select Specifies which of the two Tx HDLC3 Buffers that the Tx HDLC3 controller should read from to generate the next outbound HDLC3 message. 0 = transmits message data residing in Tx HDLC3 Buffer 0. 1 = transmits message data residing in Tx HDLC3 buffer 1. NOTE: If one of these Tx HDLC3 buffers contain a message which has yet to be completely read-in and processed for transmission by the Tx HDLC3 controller, then this bit-field will automatically reflect the value corresponding to the available buffer. Changing this bit-field to the in-use buffer is not permitted. Transmit HDLC3 Message - Byte Count Depends on whether an MOS or BOS message is being transmitted to the Remote Terminal Equipment If BOS message is being transmitted: These bit fields contain the number of repetitions the BOS message must be transmitted before the Tx HDLC3 controller generates the TxEOT interrupt and halts transmission. If these fields are set to 00000000, then the BOS message will be transmitted for an indefinite number of times. If MOS message is being transmitted: These bit fields contain the length, in number of octets, of the message to be transmitted.
6 5 4 3 2 1 0
TDLBC6 TDLBC5 TDLBC4 TDLBC3 TDLBC2 TDLBC1 TDLBC0
R/W R/W R/W R/W R/W R/W R/W
0 0 0 0 0 0 0
TABLE 74: RECEIVE DATA LINK BYTE COUNT REGISTER
REGISTER 57
BIT FUNCTION
RECEIVE DATA LINK BYTE COUNT REGISTER 3 (RDLBCR3)
TYPE DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0155
7
RBUFPTR
R/W
0
Receive HDLC3 Buffer-Pointer Identifies which RxHDLC3 buffer contains the newly received HDLC3 message. 0 = HDLC3 message is stored in Rx HDLC3 Buffer 0. 1 = HDLC3 message is stored in Rx HDLC3 Buffer 1.
6 5 4 3 2 1 0
RDLBC6 RDLBC5 RDLBC4 RDLBC3 RDLBC2 RDLBC1 RDLBC0
R/W R/W R/W R/W R/W R/W R/W
0 0 0 0 0 0 0
Receive HDLC Message - byte count In MOS Mode These seven bit-fields contain the size in bytes of the HDLC3 message that has been extracted and written into the Rx HDLC3 buffer. In BOS Mode These bits should be set to the value of the message repetitions before each receive interrupt. If they are set to "0", no RxEOT interrupt will be generated.
81
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 75: DEVICE ID REGISTER
REGISTER 58
BIT FUNCTION
REV. P1.0.1
DEVICE ID REGISTER (DEVID)
TYPE DEFAULT DESCRIPTION-OPERATION
0X01FE
7-0
DEVID[7:0]
RO
00110111
DEVID This register is used to identify the XRT86L30 Framer/LIU. The value of this register is 0x37h.
TABLE 76: REVISION ID REGISTER
REGISTER 59
BIT FUNCTION TYPE
REVISION ID REGISTER (REVID)
DEFAULT DESCRIPTION-OPERATION
0X01FF
7-0
REVID[7:0]
RO
00000001
REVID This register is used to identify the revision number of the XRT86L30. The value of this register for revision A is 0x01h.
82
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 77: TRANSMIT CHANNEL CONTROL REGISTER 0 TO 31 E1 MODE
REGISTER 60-91 E1 TRANSMIT CHANNEL CONTROL REGISTER 0-31 (TCCR 0-31) HEX ADDRESS: 0X0300 TO 0X031F
BIT MODE FUNCTION TYPE DEFAULT DESCRIPTION-OPERATION LAPD Control These bits select which LAPD controller is to be activated. 00 = LAPD1 01 = LAPD2 10 = TxDE[1:0] will determine the data source for the D/E Time Slots 11 = LAPD3 Reserved Transmit Channel Conditioning for Timeslot 0 to 31 Replaces the contents of timeslot 1 octet (PCM data within the next outbound frame) with signaling codes as follows. 0x0 = Contents of timeslot octet unchanged prior to transmission to Remote Terminal Equipment. Contents are transmitted without modification as received via the TxSer_n input pin. 0x1 = All 8 bits of the timeslot octet are inverted (1's complement) prior to transmission to the Remote Terminal Equipment. This selection is equivalent to executing the following logic operation with each timeslot 1 octet: TX_TIME_SLOT_OCTET=(TE_TIME_SLOT_OCTET) XOR 0xFF 0x2 = The even bits of the timeslot octet are inverted prior to trans mission to the Remote Terminal Equipment. This selection is equivalent to executing the following logic operation: TX_TIME_SLOT_OCTET=(TE_TIME_SLOT_OCTET) XOR 0xAA 0x3 = The odd bits of the time slot octet are inverted prior to trans mission to the Remote Terminal Equipment. This selection is equivalent to executing the following logic operation: TX_TIME_SLOT_OCTET=(TE_TIME_SLOT_OCTET) XOR 0x55 0x4 = The contents of the timeslot octet will be substituted with the 8 -bit value in Programmable User Code Register, prior to transmission to the Remote Terminal Equipment. 0x5 = The contents of the timeslot octet will be substituted with the value 0xFF (BUSY) prior to transmission to the Remote Terminal Equipment. 0X6 = The contents of the timeslot octet will be substituted with the value 0xD5 (VACANT 0V) prior to transmission to the Remote Terminal Equipment. 0X7 = The BUSY TS(111#_####) code replaces the input data for transmission. (##### is Timeslot number.) 0X8 = The BUSY 00 code replaces the input data for transmission 0X9 = The A-Law Digital Milliwatt pattern replaces the input data for transmission. 0XA = The -Law Digital Milliwatt pattern replaces the input data for transmission. 0xB = The MSB (bit 1) of input data is inverted. 0xC = All input data except MSB is inverted. 0xD = PRBS, QRTS/X15 + X 14 + 1. 0xE = The input PCM data bit are unchanged. 0xF = This is a D/E time slots. See transmit signaling and data link select register. (TSDLSR)
7-6
E1
LAPDcntl
R/W
10
5-4
Reserved
-
-
3-0
TxCond(3:0)
R/W
0
83
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 78: TRANSMIT CHANNEL CONTROL REGISTER 0 TO 31 T1 MODE
REGISTER 60-91 T1 TRANSMIT CHANNEL CONTROL REGISTER 0-23 (TCCR 0-23)
BIT FUNCTION TYPE DEFAULT
REV. P1.0.1
HEX ADDRESS: 0X0300 TO 0X0317
DESCRIPTION-OPERATION LAPD Control These bits select which LAPD controller is to be activated. 00 = LAPD1 01 = LAPD2 10 = TxDE[1:0] will determine the data source for the D/E Time Slots 11 = LAPD3 Selects type of zero suppression These bits select the zero code suppression used. 00 = No zero code suppression is used. 01 = AT&T bit 7 stuffing is used. 10 = GTE zero code suppression is used. Bit 8 is stuffed in non-signaling frame. Otherwise, bit 7 is stuffed in signaling frame if the signaling bit is zero. 11 = DDS zero code suppression is applied where 0x98 replaces the input data. Transmit Channel Conditioning for Timeslot 0 to 23 Replaces the contents of timeslot 1 octet (PCM data within the next outbound frame) with signaling codes as follows. 0x0 = Contents of timeslot octet unchanged prior to transmission to Remote Terminal Equipment. Contents are transmitted without modification as received via the TxSer_n input pin. 0x1 = All 8 bits of the timeslot octet are inverted (1's complement) prior to transmission to the Remote Terminal Equipment. This selection is equivalent to executing the following logic operation with each timeslot 1 octet: TX_TIME_SLOT_OCTET=(TE_TIME_SLOT_OCTET) XOR 0xFF 0x2 = The even bits of the timeslot octet are inverted prior to trans mission to the Remote Terminal Equipment. This selection is equivalent to executing the following logic operation: TX_TIME_SLOT_OCTET=(TE_TIME_SLOT_OCTET) XOR 0xAA 0x3 = The odd bits of the time slot octet are inverted prior to trans mission to the Remote Terminal Equipment. This selection is equivalent to executing the following logic operation: TX_TIME_SLOT_OCTET=(TE_TIME_SLOT_OCTET) XOR 0x55 0x4 = The contents of the timeslot octet will be substituted with the 8 -bit value in Programmable User Code Register, prior to transmission to the Remote Terminal Equipment. 0x5 = The contents of the timeslot octet will be substituted with the value 0xFF (BUSY) prior to transmission to the Remote Terminal Equipment. 0X6 = The contents of the timeslot octet will be substituted with the value 0xD5 (VACANT 0V) prior to transmission to the Remote Terminal Equipment. 0X7 = The BUSY TS(111#_####) code replaces the input data for transmission. (##### is Timeslot number.) 0X8 = The BUSY 00 code replaces the input data for transmission 0X9 = The A-Law Digital Milliwatt pattern replaces the input data for transmission. 0XA = The -Law Digital Milliwatt pattern replaces the input data for transmission. 0xB = The MSB (bit 1) of input data is inverted. 0xC = All input data except MSB is inverted. 0xD = PRBS, QRTS/X15 + X 14 + 1. 0xE = The input PCM data bit are unchanged. 0xF = This is a D/E time slots. See transmit signaling and data link select register. (TSDLSR)
7-6
LAPDcntl
R/W
10
5 - 4 TxZERO[1:0]
R/W
00
3-0
TxCond(3:0)
R/W
0
84
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 79: TRANSMIT USER CODE REGISTER 0 TO 31
T1/E1 TRANSMIT USER CODE REGISTER 0 (UCR 0-31)
TYPE R/W DEFAULT 0
REGISTER 92-123
BIT 7-0 FUNCTION TUCR[7:0]
HEX ADDRESS: 0X0320 TO 0X033F
DESCRIPTION-OPERATION
Programmable User code.
TABLE 80: TRANSMIT SIGNALING CONTROL REGISTER X - E1 MODE
REGISTER 124-155 - E1
BIT 7 A (x) FUNCTION
TRANSMIT SIGNALING CONTROL REGISTER X (TSCR 0-31) HEX ADDRESS: 0X0340 TO 0X035F
TYPE R/W DEFAULT 0 (1) DESCRIPTION-OPERATION Signaling bit A or x bit A,B,C,D: These are programmable signaling information. Note: Time slot 16 of frame 0 is controlled by TSCR0 (for 0 bits) and TSCR16 (for xyxx bits). Signaling bit B or y bit Signaling bit C or x bit Signaling bit D or x bit Reserved Reserved Channel signaling control These bits determine the selection of signaling conditioning. 00 = No signaling data is inserted into input PCM data (passthrough). 01 = Signaling data is inserted from TSCRs. 10 = Signaling data is inserted from TxOH input while TxMUXEN=0 and TxIMODE[1:0]=00, otherwise is inserted from TxSIG input. 11 = No signaling. For xyxx bits only, x's are from TSCR and y is the alarm condition.
6 5 4 3 2 1 0
B (y) C (x) D (x) Reserved Reserved TxSIGSRC[1] TxSIGSRC[0]
R/W R/W R/W R/W R/W
0 (0) 0 (1) 0 (1) 0 0
85
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 81: TRANSMIT SIGNALING CONTROL REGISTER X - T1 MODE
REGISTER 124-155 - T1
BIT 7 A (x) FUNCTION
REV. P1.0.1
TRANSMIT SIGNALING CONTROL REGISTER X (TSCR) (0-23)
TYPE R/W DEFAULT 0 (1)
HEX ADDRESS: 0X0340 TO 0X035F
DESCRIPTION-OPERATION Signaling bit A A,B,C,D: These are programmable signaling information. Signaling bit B Signaling bit C Signaling bit D Reserved Robbed-bit signaling enable This bit enables Robbed-bit signaling transmission. 0 = Robbed-bit is disabled. 1 = Robbed-bit is enabled Channel signaling control These bits determine the selection of signaling conditioning. 00 = No signaling data is inserted into input PCM data. 01 = Signaling data is inserted from TSCRs. 10 = Signaling data is inserted from TxSig input. 11 = No signaling.
6 5 4 3 2
B (y) C (x) D (x) Reserved Rob_Enb
R/W R/W R/W R/W
0 (0) 0 (1) 0 (1) 0
1 0
TxSIGSRC[1] TxSIGSRC[0]
R/W R/W
0 0
86
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 82: RECEIVE CHANNEL CONTROL REGISTER X (RCCR 0-31) - E1 MODE
REGISTER 156-187 E1
BIT 7-6 FUNCTION LAPDcntl
RECEIVE CHANNEL CONTROL REGISTER X (RCCR 0-31)
TYPE R/W DEFAULT 10
HEX ADDRESS: 0X0360 TO 0X037F
DESCRIPTION-OPERATION LAPD Control These bits select which LAPD controller is to be activated. 00 = LAPD1 01 = LAPD2 10 = RxDE[1:0] will determine the data source for the D/E Time Slots 11 = LAPD3 Reserved Selects Data Conditioning These bits determines the type of data condition applying to input PCM data. 0x0 = The input PCM data is unchanged. 0x1 = All 8 bits of the PCM channel data are inverted. 0x2 = The even bits of input data are inverted. 0x3 = The odd bits of input data are inverted. 0x4 = Data in User Code Register shown in Table 3-27 replaces the input data. 0x5 = BUSY FF code (0xFF)) replaces the input data. 0x6 = BUSY 0Vcode (0xD5) replaces the input data. 0x7 = BUSY TS (111#_####) replaces the input data; ##### is Timeslot number. 0x8 = BUSY 00 (0x00) replaces the input data. 0x9 = The A-law digital milliwatt pattern replaces the input data. 0xA = The m-law digital milliwatt pattern replaces the input data. 0xB = The MSB (bit 1) of input data is inverted. 0xC = All input data except MSB is inverted. 0xD = PRBS, QRTS/X15 + X14 +1. 0xE = The input PCM data bit are unchanged. 0xF = This is a D/E time slots. See receive Signaling data link select register 12. (RS&DLSR)
5-4 3 2 1 0
Reserved RxCOND[3] RxCOND[2] RxCOND[1] RxCOND[0]
R/W R/W R/W R/W
0 0 0 0
87
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 83: RECEIVE CHANNEL CONTROL REGISTER X (RCCR 0-23) - T1 MODE
REGISTER 156-187 - T1
BIT 7-6 FUNCTION LAPDcntl
REV. P1.0.1
RECEIVE CHANNEL CONTROL REGISTER X (RCCR 0-23)
TYPE R/W DEFAULT 10
HEX ADDRESS: 0X0360 TO 0X037F
DESCRIPTION-OPERATION LAPD Control These bits select which LAPD controller is to be activated. 00 = LAPD1 01 = LAPD2 10 = RxDE[1:0] will determine the data source for the D/E Time Slots 11 = LAPD3 Selects Type of Zero Suppression These bits select the zero code suppression used. 00 = No zero code suppression is used. 01 = AT&T bit 7 stuffing is used. 10 = GTE zero code suppression is used. Bit 8 is stuffed in non-signaling frame. Otherwise, bit 7 is stuffed in signaling frame if the signaling bit is zero. 11 = DDS zero code suppression is applied. Selects Data Conditioning These bits determines the type of data condition applying to input PCM data. 0x0 = The input PCM data is unchanged. 0x1 = All 8 bits of the PCM channel data are inverted. 0x2 = The even bits of input data are inverted. 0x3 = The odd bits of input data are inverted. 0x4 = Data in User (IDLE) Code Register (Table 3?49) replaces the input data for transmission. 0x5 = BUSY code (0x7F)) replaces the input data for transmission. 0x6 = VACANT code (0xFF) replaces the input data for transmission. 0x7 = BUSY TS (111#_####) replaces the input data for transmission; ##### is Timeslot number. 0x8 = MOOF (0x1A) replaces the input data for transmission. 0x9 = The A-law digital milliwatt pattern replaces the input data. 0xA = The m-law digital milliwatt pattern replaces the input data. 0xB = The MSB (bit 1) of input data is inverted. 0xC = All input data except MSB is inverted. 0xD = PRBS, QRTS/X15 + X14 + 1. 0xE = The input PCM data bit are unchanged. 0xF = This is a D/E time slots. See receive signaling data link select register 12. (RS&DLSR)
5 4
RxZERO[1] RxZERO[0]
R/W R/W
0 0
3 2 1 0
RxCOND[3] RxCOND[2] RxCOND[1] RxCOND[0]
R/W R/W R/W R/W
0 0 0 0
88
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 84: RECEIVE USER CODE REGISTER X (RUCR 0-31)
REGISTER 188-219
BIT 7 6 5 4 3 2 1 0 FUNCTION RxUSER[7] RxUSER[6] RxUSER[5] RxUSER[4] RxUSER[3] RxUSER[2] RxUSER[1] RxUSER[0]
T1/E1 RECEIVE USER CODE REGISTER X (RUCR 0-31)
TYPE R/W R/W R/W R/W R/W R/W R/W R/W DEFAULT 1 1 1 1 1 1 1 1
HEX ADDRESS: 0X0380 TO 0X039F
DESCRIPTION-OPERATION Programmable USER code
TABLE 85: RECEIVE SIGNALING CONTROL REGISTER X (RSCR) (0-31)
REGISTER 220-251 T1/E1 RECEIVE SIGNALING CONTROL REGISTER X (RSCR) (0-31)
BIT FUNCTION SIGC_ENB 6 TYPE R/W 0 DEFAULT
HEX ADDRESS: 0X03A0 TO 0X03BF
DESCRIPTION-OPERATION Signaling substitution enable This bit enables signaling substitution. 0 = Substitution is disabled. 1 = Substitution is enabled. Signaling OH interface output enable This bit enables outputting signaling through overhead interface. The information in receive signaling array registers is output to receive overhead interface. 0 = Output is disabled. 1 = Output is enabled. Per-channel debounce enable This bit enables signaling debounce feature. 0 = Debounce is disabled. 1 = Debounce is enabled. Signaling conditioning These bits control per-channel signaling substitution. 00 = Substitutes all signaling bits with one. 01 = Enables 16-code (SIG16-A,B,C,D) signaling substitution. 10 = Enables 4-code (SIG4-A,B) signaling substitution. 11 = Enables 2-code (SIG2-A) signaling substitution. Signaling extraction. These bits determines the extracted signaling coding. 00 = No signaling is extracted. 01 = Extracts 16-code signaling. 10 = Extracts 4-code signaling. 11 = Extracts 2-code signaling.
OH_ENB 5
R/W 0
DEB_ENB 4
R/W 0
3
RxSIGC[1] RxSIGC[0]
R/W R/W
0
2
0
1
RxSIGE[1] RxSIGE[0]
R/W R/W
0
0
0
89
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 86: RECEIVE SUBSTITUTION SIGNALING REGISTER (RSSR) E1 MODE
REV. P1.0.1
REGISTER 252-283 E1 MODE RECEIVE SUBSTITUTION SIGNALING REGISTER (RSSR 0-31) HEX ADDRESS 0X03C0 TO 0X03DF
BIT 6 5 4 3 2 1 0 SIG2-A SIG4-B SIG4-A SIG16-D SIG16-C SIG16-B SIG16-A FUNCTION TYPE R/W R/W R/W R/W R/W R/W R/W DEFAULT 0 0 0 0 0 0 0 2-code signaling A 4-code signaling B 4-code signaling A 16-code signaling D 16-code signaling C 16-code signaling B 16-code signaling A DESCRIPTION-OPERATION
TABLE 87: RECEIVE SUBSTITUTION SIGNALING REGISTER (RSSR) T1 MODE
REGISTER 252-283 - T1
BIT 7-4 3 2 1 0 FUNCTION Reserved SIG16-A, 4-A, 2-A SIG16-B, 4-B, 2-A SIG16-C, 4-A, 2-A SIG16-D, 4-B, 2-A
RECEIVE SUBSTITUTION SIGNALING REGISTER (RSSR 0-23)
TYPE R/W R/W R/W R/W DEFAULT 0 0 0 0 Reserved
HEX ADDRESS: 0X03C0 TO 0X03DF
DESCRIPTION-OPERATION
16-code signaling A 4-code signaling A 2-code signaling A 16-code signaling B 4-code signaling B 2-code signaling A 16-code signaling C 4-code signaling A 2-code signaling A 16-code signaling D 4-code signaling B 2-code signaling A
90
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 88: RECEIVE SIGNALING ARRAY REGISTER 0 TO 31
REGISTER 284-315
BIT 7-4 3 2 1 0 FUNCTION Reserved A B C D
RECEIVE SIGNALING ARRAY REGISTER (RSAR 0-31)
TYPE R/W R/W R/W R/W DEFAULT 0 0 0 0 Reserved
HEX ADDRESS: 0X0500 TO 0X051F
DESCRIPTION-OPERATION
Reflects the most recently received signaling value (A,B,C,D) associated with timeslot 0 to 31. NOTE: The content of this register only has meaning when the framer is using Channel Associated Signaling.
TABLE 89: LAPD BUFFER 0 CONTROL REGISTER
REGISTER 316-411
BIT FUNCTION
LAPD BUFFER 0 CONTROL REGISTER (LAPDBCR0)
TYPE DEFAULT
HEX ADDRESS: 0X0600 TO 0X0660
DESCRIPTION-OPERATION
7-0
LAPD Buffer 0
R/W
0
LAPD Buffer 0 (96-Bytes) This register is used to transmit and receive LAPD messages within buffer 0 of the HDLC controller chosen in the LAPD Select Register (0x011B). When writing to buffer 0, the message is inserted into the outgoing LAPD frame and the data cannot be retrieved. After detecting the Rx end of transfer interrupt (RxEOT), the extracted LAPD message is available to be read. NOTE: When writing or reading from Buffer 0, the register is automatically incremented such that 0x0600 can be written to or read from continuously.
TABLE 90: LAPD BUFFER 1 CONTROL REGISTER
REGISTER 412-507
BIT FUNCTION
LAPD BUFFER 0 CONTROL REGISTER (LAPDBCR1)
TYPE DEFAULT
HEX ADDRESS: 0X0700 TO 0X0760
DESCRIPTION-OPERATION
7-0
LAPD Buffer 1
R/W
0
LAPD Buffer 1 (96-Bytes) This register is used to transmit and receive LAPD messages within buffer 1 of the HDLC controller chosen in the LAPD Select Register (0x011B). When writing to buffer 1, the message is inserted into the outgoing LAPD frame and the data cannot be retrieved. After detecting the Rx end of transfer interrupt, the extracted LAPD message is available to be read. NOTE: When writing or reading from Buffer 1, the register is automatically incremented such that 0x0700 can be written to or read from continuously.
91
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 91: PMON T1/E1 RECEIVE LINE CODE (BIPOLAR) VIOLATION COUNTER
REGISTER 508 PMON RECEIVE LINE CODE (BIPOLAR) VIOLATION COUNTER MSB (RLCVCU)
BIT 7 6 5 4 3 2 1 0 FUNCTION RLCVC[15] RLCVC[14] RLCVC[13] RLCVC[12] RLCVC[11] RLCVC[10] RLCVC[9] RLCVC[8] TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0
REV. P1.0.1
HEX ADDRESS: 0X0900
DESCRIPTION-OPERATION These eight bits represent the MSB for the 16-bit Line Code Violation counter.
TABLE 92: PMON T1/E1 RECEIVE LINE CODE (BIPOLAR) VIOLATION COUNTER
REGISTER 509
BIT 7 6 5 4 3 2 1 0
.
PMON RECEIVE LINE CODE (BIPOLAR) VIOLATION COUNTER LSB (RLCVCL) HEX ADDRESS: 0X0901
TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0 DESCRIPTION-OPERATION These eight bits represent the LSB for the 16-bit Line Code Violation counter.
FUNCTION RLCVC[7] RLCVC[6] RLCVC[5] RLCVC[4] RLCVC[3] RLCVC[2] RLCVC[1] RLCVC[0]
TABLE 93: PMON T1/E1 RECEIVE FRAMING ALIGNMENT BIT ERROR COUNTER
REGISTER 510
BIT 7 6 5 4 3 2 1 0 FUNCTION RFAEC[15] RFAEC[14] RFAEC[13] RFAEC[12] RFAEC[11] RFAEC[10] RFAEC[9] RFAEC[8]
PMON RECEIVE FRAMING ALIGNMENT ERROR COUNTER MSB (RFAECU)
TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0
HEX ADDRESS: 0X0902
DESCRIPTION-OPERATION These eight bits represent the MSB for the 16-bit Receive Framing Alignment Error counter.
92
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
.
PRELIMINARY
TABLE 94: PMON T1/E1 RECEIVE FRAMING ALIGNMENT BIT ERROR COUNTER
REGISTER 511
BIT 7 6 5 4 3 2 1 0 FUNCTION RFAEC[7] RFAEC[6] RFAEC[5] RFAEC[4] RFAEC[3] RFAEC[2] RFAEC[1] RFAEC[0]
PMON RECEIVE FRAMING ALIGNMENT ERROR COUNTER LSB (RFAECL)
TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0
HEX ADDRESS: 0X0903
DESCRIPTION-OPERATION These eight bits represent the LSB for the 16-bit Receive Framing Alignment Error counter.
TABLE 95: PMON T1/E1 RECEIVE SEVERELY ERRORED FRAME COUNTER
REGISTER 512
BIT 7 6 5 4 3 2 1 0 FUNCTION RSEFC[7] RSEFC[6] RSEFC[5] RSEFC[4] RSEFC[3] RSEFC[2] RSEFC[1] RSEFC[0]
PMON RECEIVE SEVERELY ERRORED FRAME COUNTER (RSEFC)
TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0
HEX ADDRESS: 0X0904
DESCRIPTION-OPERATION Severely Errored 8-bit frame accumulation Counter Note: A severely errored frame event is defined as the occurrence of two consecutive errored frame alignment signals that are not responsible for loss of frame alignment.
93
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 96: PMON T1/E1 RECEIVE CRC-4 BLOCK ERROR COUNTER - MSB
REGISTER 513
REV. P1.0.1
PMON RECEIVE SYNCHRONIZATION BIT BLOCK ERROR COUNTER (RSBBECU) HEX ADDRESS: 0X0905
BIT 7 6 5 4 3 2 1 0
FUNCTION RSBBEC[15] RSBBEC[14] RSBBEC[13] RSBBEC[12] RSBBEC[11] RSBBEC[10] RSBBEC[9] RSBBEC[8]
TYPE RUR RUR RUR RUR RUR RUR RUR RUR
DEFAULT 0 0 0 0 0 0 0 0
DESCRIPTION-OPERATION These eight bits represent the MSB for the 16-bit Receive Synchronization Bit Block Error counter.
TABLE 97: PMON T1/E1 RECEIVE CRC-4 BLOCK ERROR COUNTER - LSB
REGISTER 514 PMON RECEIVE SYNCHRONIZATION BIT BLOCK ERROR COUNTER (RSBBECL)
BIT 7 6 5 4 3 2 1 0 FUNCTION RSBBEC[7] RSBBEC[6] RSBBEC[5] RSBBEC[4] RSBBEC[3] RSBBEC[2] RSBBEC[1] RSBBEC[0] TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0
HEX ADDRESS: 0X0906
DESCRIPTION-OPERATION These eight bits represent the LSB for the 16-bit Receive Synchronization Bit Block Error counter.
94
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 98: PMON T1/E1 RECEIVE FAR-END BLOCK ERROR COUNTER - MSB
REGISTER 515
BIT 7 6 5 4 3 2 1 0 FUNCTION RFEBEC[15] RFEBEC[14] RFEBEC[13] RFEBEC[12] RFEBEC[11] RFEBEC[10] RFEBEC[9] RFEBEC[8]
PMON RECEIVE FAR-END BLOCK ERROR COUNTER (RFEBECU)
TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0
HEX ADDRESS: 0X0907
DESCRIPTION-OPERATION These eight bits represent the MSB for the 16-bit Receive Far-End Block Error counter.
TABLE 99: PMON T1/E1 RECEIVE FAR END BLOCK ERROR COUNTER
REGISTER 516
BIT 7 6 5 4 3 2 1 0 FUNCTION RFEBEC[7] RFEBEC[6] RFEBEC[5] RFEBEC[4] RFEBEC[3] RFEBEC[2] RFEBEC[1] RFEBEC[0]
PMON RECEIVE FAR END BLOCK ERROR COUNTER (RFEBECL)
TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0
HEX ADDRESS: 0X0908
DESCRIPTION-OPERATION These eight bits represent the LSB for the 16-bit Receive Far-End Block Error counter. Note: Counter contains the 16-bit far-end block error event. Counter will increment once each time the received E-bit is set to zero. The counter is disabled during loss of sync at either the FAS or CRC-4 level and it will continue to count if loss of multiframe sync occurs at the CAS level.
95
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 100: PMON T1/E1 RECEIVE SLIP COUNTER
REGISTER 517
BIT 7 6 5 4 3 2 1 0 RSC[7] RSC[6] RSC[5] RSC[4] RSC[3] RSC[2] RSC[1] RSC[0] FUNCTION TYPE RUR RUR RUR RUR RUR RUR RUR RUR
REV. P1.0.1
PMON RECEIVE SLIP COUNTER (RSC)
DEFAULT 0 0 0 0 0 0 0 0
HEX ADDRESS: 0X0909
DESCRIPTION-OPERATION Note: counter contains the 8-bit receive buffer slip event. A slip event is defined as a replication or deletion of a T1/E1 frame by the receiving slip buffer. Note: A 16 bit counter which counts the occurrence of a bipolar violation on the receive data line. This counter is of sufficient length so that the probability of counter saturation over a one second interval at a 10 -3-Bit Error Rate (BER) is less than 0.001%.
TABLE 101: PMON T1/E1 RECEIVE LOSS OF FRAME COUNTER
REGISTER 518
BIT 7 6 5 4 3 2 1 0 RLFC[7] RLFC[6] RLFC[5] RLFC[4] RLFC[3] RLFC[2] RLFC[1] RLFC[0] FUNCTION
PMON RECEIVE LOSS OF FRAME COUNTER (RLFC)
TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0
HEX ADDRESS: 0X090A
DESCRIPTION-OPERATION
Note: LOFC (8-bit counter) is a count of the number of times a "Loss Of FAS Frame" has been declared. This counter provides the capability to measure an accumulation of short failure events.
96
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 102: PMON T1/E1 RECEIVE CHANGE OF FRAME ALIGNMENT COUNTER
REGISTER 519
BIT 7 6 5 4 3 2 1 0 FUNCTION RCFAC[7] RCFAC[6] RCFAC[5] RCFAC[4] RCFAC[3] RCFAC[2] RCFAC[1] RCFAC[0]
PMON RECEIVE CHANGE OF FRAME ALIGNMENT COUNTER (RCFAC)
TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0
HEX ADDRESS: 0X090B
DESCRIPTION-OPERATION Change of Frame Alignment Accumulation counter. Note: (8-bit counter) COFA is declared when the newly-locked framing is different from the one offered by off-line framer.
TABLE 103: PMON LAPD T1/E1 FRAME CHECK SEQUENCE ERROR COUNTER 1
REGISTER 520
BIT 7 6 5 4 3 2 1 0
PMON LAPD1 FRAME CHECK SEQUENCE ERROR COUNTER 1 (LFCSEC1)
TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0
HEX ADDRESS: 0X090C
FUNCTION FCSEC1[7] FCSEC1[6] FCSEC1[5] FCSEC1[4] FCSEC1[3] FCSEC1[2] FCSEC1[1] FCSEC1[0]
DESCRIPTION-OPERATION Frame Check Sequence error Accumulation Counter 1. Note: 8-bit Counter accumulates the times of occurrence of receive frame check sequence error detected by LAPD1 controller.
97
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 104: T1/E1 PRBS BIT ERROR COUNTER MSB
REGISTER 521
BIT 7 6 5 4 3 2 1 0 FUNCTION PRBSE[15] PRBSE[14] PRBSE[13] PRBSE[12] PRBSE[11] PRBSE[10] PRBSE[9] PRBSE[8]
REV. P1.0.1
T1/E1 PRBS BIT ERROR COUNTER MSB (PBECU)
TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0 DESCRIPTION-OPERATION
HEX ADDRESS: 0X090D
Most significant bits of PRBS bit error Accumulation 16-bit counter
TABLE 105: T1/E1 PRBS BIT ERROR COUNTER LSB
REGISTER 522
BIT 7 6 5 4 3 2 1 0 FUNCTION PRBSE[7] PRBSE[6] PRBSE[5] PRBSE[4] PRBSE[3] PRBSE[2] PRBSE[1] PRBSE[0]
T1/E1 PRBS BIT ERROR COUNTER LSB (PBECL)
TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0 DESCRIPTION-OPERATION
HEX ADDRESS: 0X090E
Least significant byte of PRBS bit error accumulation 16-bit counter.
98
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 106: T1/E1 TRANSMIT SLIP COUNTER
REGISTER 523
BIT 7 6 5 4 3 2 1 0 FUNCTION TxSLIP[7] TxSLIP[6] TxSLIP[5] TxSLIP[4] TxSLIP[3] TxSLIP[2] TxSLIP[1] TxSLIP[0]
T1/E1 TRANSMIT SLIP COUNTER (T1/E1TSC)
TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0
HEX ADDRESS: 0X090F
DESCRIPTION-OPERATION Transmit Slip accumulation counter.
TABLE 107: T1/E1 EXCESSIVE ZERO VIOLATION COUNTER MSB
REGISTER 524
BIT 7 6 5 4 3 2 1 0 FUNCTION EZVC[15] EZVC[14] EZVC[13] EZVC[12] EZVC[11] EZVC[10] EZVC[9] EZVC[8]
T1/E1 EXCESSIVE ZERO VIOLATION COUNTER MSB (EZVCU)
TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0 DESCRIPTION-OPERATION
HEX ADDRESS: 0X0910
These eight bits represent the MSB for the 16-bit Excessive Zero Violation Counter.
99
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 108: T1/E1 EXCESSIVE ZERO VIOLATION COUNTER LSB
REGISTER 525
BIT 7 6 5 4 3 2 1 0 EZVC[7] EZVC[6] EZVC[5] EZVC[4] EZVC[3] EZVC[2] EZVC[1] EZVC[0] FUNCTION
REV. P1.0.1
T1/E1 EXCESSIVE ZERO VIOLATION COUNTER MSB (EZVCL)
TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0 DESCRIPTION-OPERATION
HEX ADDRESS: 0X0911
These eight bits represent the LSB for the 16-bit Excessive Zero Violation Counter.
TABLE 109: T1/E1 FRAME CHECK SEQUENCE ERROR COUNTER 2
REGISTER 526
BIT 7 6 5 4 3 2 1 0
PMON LAPD2 FRAME CHECK SEQUENCE ERROR COUNTER 2 (LFCSEC2)
FUNCTION TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0 DESCRIPTION-OPERATION
HEX ADDRESS: 0X091C
FCSEC2[7] FCSEC2[6] FCSEC2[5] FCSEC2[4] FCSEC2[3] FCSEC2[2] FCSEC2[1] FCSEC2[0]
Frame Check Sequence error Accumulation Counter 2. Note: 8-bit Counter accumulates the times of occurrence of receive frame check sequence error detected by LAPD2 controller.
100
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 110: T1/E1 FRAME CHECK SEQUENCE ERROR COUNTER 3
REGISTER 527
BIT 7 6 5 4 3 2 1 0
PMON LAPD3 FRAME CHECK SEQUENCE ERROR COUNTER 3 (LFCSEC3)
FUNCTION TYPE RUR RUR RUR RUR RUR RUR RUR RUR DEFAULT 0 0 0 0 0 0 0 0 DESCRIPTION-OPERATION
HEX ADDRESS: 0X092C
FCSEC3[7] FCSEC3[6] FCSEC3[5] FCSEC3[4] FCSEC3[3] FCSEC3[2] FCSEC3[1] FCSEC3[0]
Frame Check Sequence error Accumulation Counter 3. Note: 8-bit Counter accumulates the times of occurrence of receive frame check sequence error detected by LAPD3 controller.
101
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 111: BLOCK INTERRUPT STATUS REGISTER
REGISTER 528
BIT 7 Sa6 FUNCTION TYPE RO
REV. P1.0.1
BLOCK INTERRUPT STATUS REGISTER (BISR)
DEFAULT 0 Sa6 Interrupt Status
HEX ADDRESS: 0X0B00
DESCRIPTION-OPERATION
6
LBCODE
RO
0
Loopback Code Interrupt
5
RxClkLOS
RUR
0
RxClk Los Interrupt Status Indicates if Framer n has experienced a Loss of Recovered Clock interrupt since last read of this register. 0 = Loss of Recovered Clock interrupt has not occurred since last read of this register 1 = Loss of Recovered Clock interrupt has occurred since last read of this register. One Second Interrupt Status Indicates if the XRT86L30 has experienced a One Second interrupt since the last read of this register. 0 = No outstanding One Second interrupts awaiting service 1 = Outstanding One Second interrupt awaits service HDLC Block Interrupt Status Indicates if the HDLC block has an interrupt request awaiting service. 0 = No outstanding interrupt requests awaiting service 1 = HDLC Block has an interrupt request awaiting service. Interrupt Service routine should branch to and read Data LInk Status Register (address xA,06).
4
ONESEC
RUR
0
3
HDLC
RO
0
NOTE: This bit-field will be reset to 0 after the microprocessor has performed a read to the Data Link Status Register.
Slip Buffer Block Interrupt Status Indicates if the Slip Buffer block has any outstanding interrupt requests awaiting service. 0 = No outstanding interrupts awaiting service 1 = Slip Buffer block has an interrupt awaiting service. Interrupt Service routine should branch to and read Slip Buffer Interrupt Status register (address 0xXA,0x09.
2
SLIP
RO
0
NOTE: This bit-field will be reset to 0 after the microprocessor has performed a read of the Slip Buffer Interrupt Status Register.
Alarm & Error Block Interrupt Status Indicates if the Alarm & Error Block has any outstanding interrupts that are awaiting service. 0 = No outstanding interrupts awaiting service 1 = Alarm & Error Block has an interrupt awaiting service. Interrupt SerStatus Register (address xA,02) NOTE: This bit-field will be reset to 0 after the microprocessor has performed a read of the Alarm & Error Interrupt Status register. T1/E1 Framer Block Interrupt Status Indicates if an T1/E1 Frame Status interrupt request is awaiting service. 0 = No T1/E1 Frame Status interrupt is pending 1 = T1/E1 Framer Status interrupt is awaiting service.
1
ALARM
RO
0
0
T1/E1 FRAME
RO
0
102
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 112: BLOCK INTERRUPT ENABLE REGISTER
REGISTER 529
BIT 7 6 FUNCTION SA6_ENB LBCODE_ENB RXCLKLOSS 5
BLOCK INTERRUPT ENABLE REGISTER (BIER)
TYPE R/W R/W DEFAULT 0 0 SA6 interrupt enable Loopback code interrupt enable RxLineClk Loss Interrupt Enable 0 = Disables interrupt 1 = Enables interrupt One Second Interrupt Enable 0 = Disables interrupt 1 = Enables Interrupt DESCRIPTION-OPERATION
HEX ADDRESS: 0X0B01
R/W
0
ONESEC_ENB 4 R/W 0
HDLC_ENB 3 R/W 0
HDLC Block Interrupt Enable 0 = Disables all HDLC Block interrupts 1 = Enables HDLC Block (for interrupt generation) at the block level Slip Buffer Block Interrupt Enable 0 = Disables all Slip Buffer Block Interrupts 1 = Enables Slip Buffer Block at the block level Alarm & Error Block Interrupt Enable 0 = Disables all Alarm & Error Block interrupts 1 = Enables Alarm & Error block at the block level T1/E1 Frame Block Enable 0 = Disables all Frame Block interrupts 1 = Enables the Frame Block at the block level
SLIP_ENB 2 R/W 0
ALARM_ENB 1 R/W 0
T1/E1FRAME_ENB 0 R/W 0
TABLE 113: ALARM & ERROR INTERRUPT STATUS REGISTER
REGISTER 530
BIT MODE FUNCTION
ALARM & ERROR INTERRUPT STATUS REGISTER (AEISR)
TYPE DEFAULT
HEX ADDRESS: 0X0B02
DESCRIPTION-OPERATION Receive Loss Of Frame State Reflects a current Loss of Framing condition as detected by the Receive T1/ E1 Framer. 0 = Receive Framer not declaring Loss of Framing condition 1 = Receive Framer declaring Loss of Framing condition Receive Alarm Indication Status State This Read Only bit field indicates whether or not the receive T1/E1 Frame is currently detecting an AIS pattern in the incoming data stream. 0 = Receive Framer not detecting AIS pattern in incoming T1/E1 data stream 1 = Receive Framer detecting AIS pattern in incoming T1/E1 data stream Receipt of CAS Multiframe Yellow Alarm Interrupt Status. The Receive E1 Framer will set this bit-field to 1 if it detects the CAS Multiframe Yellow Alarm in the incoming E1 data stream. 0 = Receipt of CAS Multiframe Yellow Alarm interrupt has not occurred since the last read of this register. 1 = Receipt of CAS Multiframe Yellow Alarm interrupt has occurred since the last read of this register. Yellow Alarm State Indicates a yellow alarm has been received. 0 = No yellow Alarm is Received 1 = Yellow alarm is received
7
E1/T1 RxLOF State
RO
0
6
E1/T1 RxAIS State
RO
0
5
E1
RxMYEL Status
RUR
0
5
T1
RxYEL_State
R
0
103
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 113: ALARM & ERROR INTERRUPT STATUS REGISTER
REGISTER 530
BIT MODE FUNCTION
REV. P1.0.1
ALARM & ERROR INTERRUPT STATUS REGISTER (AEISR)
TYPE DEFAULT
HEX ADDRESS: 0X0B02
DESCRIPTION-OPERATION Loss of Signal Interrupt Status. The Receive E1 Framer will set this bitfield to 1 if it detects a consecutive string of 0's at the RxPOX_n and Rx0EG_n input pins for 32 bit period. 0 = LOS Interrupt has not occurred since the last read of this register 1 = LOS Interrupt has occurred since the last read of this register Line Code Violation Interrupt Status. The Receive LIU Interrupt Block will set this bit-field to 1 if it detects a Line Code Violation in the incoming E1 data stream. 0 = Line Code Violation interrupt has not occurred since the last read of this register. 1 = Line Code Violation interrupt has occurred since the last read of this register. Change in Receive Loss of Frame Condition Interrupt Status. The receive E1 Framer block will set this bit-field to 1 if the Receive E1 framer has transition into the In-Frame condition or Loss of Frame condition. 0 = Change in RxLOF Interrupt has not occurred since the last read of this register 1 = Change in RxLOF Interrupt has occurred since the last read of this register Change in Receive AIS Condition Interrupt Status. The Receive E1 Framer will generate the Change in AIS Condition interrupt if it starts to detect the AIS pattern in the incoming data stream or if it no longer detects the AIS pattern in the incoming data stream. 0 = Change in AIS Condition Interrupt has not occurred since the last read of this register 1 = Change in AIS Condition Interrupt has occurred since the last read of this register Receipt of FAS Frame Yellow Alarm Interrupt Status. The Receive E1 Framer will generate the FAS Frame Yellow Alarm interrupt if it detects the FAS Frame Yellow Alarm in the incoming E1 data stream. 0 = FAS Frame Yellow Alarm interrupt has not occurred 1 = FAS Frame Yellow Alarm interrupt has occurred since the last read of this register.
4
E1/T1 LOS Status
RUR
0
3
E1/T1 LCV Int Status
RUR
0
2
E1/T1 RxLOF Status
RUR
0
1
E1/T1 RxAIS Status
RUR
0
0
E1/T1 RxYEL Status
RUR
0
104
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 114: ALARM & ERROR INTERRUPT ENABLE REGISTER - E1 MODE
REGISTER 531 E1 MODE
BIT 7-6 FUNCTION Reserved
ALARM & ERROR INTERRUPT ENABLE REGISTER (AEIER)
TYPE DEFAULT Reserved
HEX ADDRESS: 0X0B03
DESCRIPTION-OPERATION
5
RxMYEL ENB
R/W
0
Multiframe Yellow alarm state change interrupt enable Enables the generation of an interrupt when the yellow alarm has been received. 0 = A multiframe yellow alarm (y bit equals to 1) will not generate an interrupt. 1 = A multiframe yellow alarm will generate an interrupt. Loss Of Signal interrupt enable Enables the interrupt generation when the loss of signal has been detected. 0 = Disables the interrupt generation of LOS detection. 1 = Enables the interrupt generation of LOS detection Bipolar violation interrupt enable Enables the interrupt generation of a bipolar violation. 0 = Disables the interrupt generation of a bipolar violation condition. 1 = Enables the interrupt generation of a bipolar violation condition. Red alarm state change interrupt enable Enables the interrupt generation when the change state of red alarm has been detected. 0 = Disables the interrupt generation of loss of frame detection. 1 = Enables the interrupt generation of loss of frame detection. AIS state change interrupt enable Enables the generation of an interrupt when the change state of AIS event has been detected. 0 = The state change of AIS does not generate an interrupt. 1 = The state change of AIS does generate an interrupt. Yellow alarm state change interrupt enable Enables the generation of an interrupt when the yellow alarm has been received. 0 = A yellow alarm (A bit equals to 1) will not generate an interrupt. 1 = A yellow alarm will generate an interrupt
4
LOS ENB
R/W
0
3
BPV ENB
R/W
0
2
RxLOF ENB
R/W
0
1
RxAIS ENB
R/W
0
0
RxYEL ENB
R/W
0
105
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 115: ALARM & ERROR INTERRUPT ENABLE REGISTER -T1 MODE
REGISTER 531 T1 MODE
BIT 7-5 FUNCTION Reserved
REV. P1.0.1
ALARM & ERROR INTERRUPT ENABLE REGISTER (AEIER)
TYPE DEFAULT Reserved
HEX ADDRESS: 0X0B03
DESCRIPTION-OPERATION
4
LOS ENB
R/W
0
Loss Of Signal interrupt enable Enables the interrupt generation when the loss of signal has been detected. 0 = Disables the interrupt generation of LOS detection. 1 = Enables the interrupt generation of LOS detection. Bipolar violation interrupt enable Enables the interrupt generation of a bipolar violation. 0 = Disables the interrupt generation of a bipolar violation condition. 1 = Enables the interrupt generation of a bipolar violation condition. Red Alarm State Change Interrupt Enable Enables the interrupt generation when the change state of red alarm has been detected. 0 = Disables the interrupt generation of framing mimic detection. 1 = Enables the interrupt generation of framing mimic detection. AIS state change interrupt enable Enable the generation of an interrupt when the change state of AIS event has been detected. 0 = The state change of AIS does not generate an interrupt. 1 = The state change of AIS does generate an interrupt Yellow alarm state change interrupt enable Enables the generation of an interrupt when the change state of yellow alarm has been detected. 0 = Any state change of yellow alarm will not generate an interrupt. 1 = Changing state of yellow alarm will generate an interrupt.
3
BPV ENB
R/W
0
2
RxRED ENB
R/W
0
1
RxAIS ENB
R/W
0
0
RxYEL ENB
R/W
0
106
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 116: FRAMER INTERRUPT STATUS REGISTER E1 MODE
1
REGISTER 532 E1 MODE
BIT FUNCTION
FRAMER INTERRUPT STATUS REGISTER (FISR)
TYPE DEFAULT
HEX ADDRESS: 0X0B04
DESCRIPTION-OPERATION Change in CAS Multiframe Alignment Interrupt Status 0 = Change in CAS Multiframe Alignment Interrupt has not occurred since the last read of this register 1 = Change in CAS Multiframe Alignment Interrupt has occurred since the last read of this register Change in National Bits Interrupt Status The Receive E1 Framer will generate this interrupt if it has detected a change in the National Bits in the incoming non-FAS E1 Frames. 0 = Change in National Bits Interrupt has not occurred since the last read of this register 1 = Change in National Bits Interrupt has occurred since the last read of this register. Change in CAS Signaling Interrupt Status The Receive E1 Framer will generate this interrupt if it detects a change in the four-bit signaling values for any one of the 30 voice channels. 0 = Change in CAS Signaling Interrupt has not occurred since the last read of this register 1 = Change in CAS Signaling Interrupt has occurred since the last read of this register. Change of FAS Frame Alignment Interrupt Status 0 = Change in FAS Frame Alignment interrupt has not occurred since the last read of this register 1 = Change in FAS Frame Alignment interrupt has occurred since the last read of this register Change of In Frame Condition Interrupt Status
7
COMFA Status E1 Only
RUR
0
6
NBIT Status E1 Only
RUR
0
5
SIG Status
RUR
0
4
COFA Status
RUR
0
3 2
IF Status FMD Status
RUR RUR
0 0
1
Sync Error Status
RUR
0
CRC-4 Error Interrupt Status. The Receive E1Framer will declare this interrupt if it detects an error in the CRC-4 bits within a given sub-multiframe. 0 = Sync Error has not occurred since the last read of this register 1 = Sync Error has occurred since the last read of this register 0 = Framing Bit Error interrupt has not occurred since the last read of this register 1 = Framing Bit Error interrupt has occurred since the last read of this register
0
Framing Error Status
RUR
0
107
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
1 TABLE 117: FRAMER INTERRUPT STATUS REGISTER T1 MODE
REGISTER 532 T1 MODE
BIT SIG 5 FUNCTION
REV. P1.0.1
FRAMER INTERRUPT STATUS REGISTER (FISR)
TYPE RUR/ WC DEFAULT 0
HEX ADDRESS: 0X0B04
DESCRIPTION-OPERATION Signaling updated This bit indicates the occurrence of state change of any signaling channel. 0 = No state change occurs of any signaling. 1 = Change of signaling state occurs. Change of Frame Alignment This bit is used to indicate that the receive synchronization signal has changed alignment with respect to its last multiframe position. 0 = No COFA occurs. 1 = COFA occurs. In-frame state This bit indicates the occurrence of state change of in-frame indication. 0 = No state change occurs of in-frame indication. 1 = In-frame indication has changed state. Frame Mimic state change This bit indicates the occurrence of state change of framing mimic detection. 0 = No state change occurs of framing mimic detection. 1 = Framing mimic detection has changed state. Synchronization bit error This bit indicates the occurrence of synchronization bit error event. 0 = No synchronization bit error occurs. 1 = Synchronization bit error occurs. Framing error This bit is used to indicate that one or more frame alignment bit error have occurred. This bit doesn't not necessarily indicate that synchronization has been lost. 0 = No framing bit error occurs. 1 = Framing bit error occurs.
COFA 4
RUR/ WC
0
IF 3
RUR/ WC
0
FMD 2
RUR/ WC
0
SE 1
RUR/ WC
0
FE 0
RUR/ WC
0
108
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 118: FRAMER INTERRUPT ENABLE REGISTER E1 MODE
REGISTER 533 E1 MODE
BIT FUNCTION
FRAMER INTERRUPT ENABLE REGISTER (FIER)
TYPE DEFAULT
HEX ADDRESS: 0X0B05
DESCRIPTION-OPERATION Change in CAS Multiframe Alignment Interrupt Enable - E1 only 0 = Disables the Change in CAS Multiframe Alignment Interrupt 1 = Enables the Change in CAS Multiframe Alignment Interrupt Change in National Bits Interrupt Enable - E1 only 0 = Disables the Change in National Bits Interrupt 1 = Enables the Change in National Bits Interrupt Change in CAS Signaling Bits Interrupt Enable 0 = Disables the Change in CAS Signaling Bits Interrupt Enable 1 = Enables the Change in CAS Signaling Bits Interrupt Enable Change in FAS Framing Alignment Interrupt Enable 0 = Disables the Change in FAS Framing Alignment Interrupt Enable 1 = Enables the Change in FAS Framing Alignment Interrupt Enable IF Enable FMD Enable Sync (CRC-4) Error Interrupt Enable 0 = Sync Error Interrupt Disabled 1 = Sync Error Interrupt Enabled Framing Bit Error Interrupt Enable 0 = Disables the Framing Bit Error Interrupt 1 = Enables the Framing Bit Error Interrupt
7
COMFA ENB - E1 Only
R/W
0
6
NBIT ENB - E1 Only
R/W
0
5
SIG ENB
R/W
0
4
COFA ENB
R/W
0
3 2
IF ENB FMD ENB
R/w R/W
0 0
1
SE_ENB
R/W
0
0
FE_ENB
R/W0
0
109
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 119: FRAMER INTERRUPT ENABLE REGISTER T1 MODE
REGISTER 533 T1 MODE
BIT FUNCTION
REV. P1.0.1
FRAMER INTERRUPT ENABLE REGISTER (FIER)
TYPE DEFAULT
HEX ADDRESS: 0X0B05
DESCRIPTION-OPERATION This bits enables the generation of an interrupt when any signaling channel has changed state. 0 = Change of signaling data does not generate an interrupt. 1 = Change of signaling data does generate an interrupt. Setting this bit will enable the interrupt generation when the frame search logic determines that frame alignment has been reached and that the new alignment differs from the previous alignment. 0 = Disables the interrupt generation of COFA detection. 1 = Enables the interrupt generation of COFA detection. IF Enable Setting this bit will enable the interrupt generation of an in-frame recognition. 0 = Disables the interrupt generation of an in-frame detection. 1 = Enables the interrupt generation of an in-frame detection. FMD Enable Setting this bit will enable the interrupt generation when the frame search logic detects the presence of framing bit mimics. 0 = Disables the interrupt generation of framing mimic detection. 1 = Enables the interrupt generation of framing mimic detection. Sync (CRC-4) Error Interrupt Enable Setting this bit will enable the generation of an interrupt when a synchronization bit error event has been detected. A synchronization bit error event is defined as CRC-4 error. 0 = The detection of synchronization bit errors does not generate an interrupt. 1 = The detection of synchronization bit errors does generate an interrupt Framing Bit Error Interrupt Enable This bits enables the generation of an interrupt when a framing bit error has been detected. 0 = Any error in the framing bits does not generate an interrupt. 1 = A error in the framing bits does generate an interrupt.
5
SIG_ENB
R/W
0
4
COFA_ENB
R/W
0
3
IF_ENB
R/W
0
2
FMD_ENB
R/W
0
1
SE_ENB
R/W
0
0
FE_ENB
R/W0
0
110
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 120: DATA LINK STATUS REGISTER 1
REGISTER 534
BIT FUNCTION TYPE
DATA LINK STATUS REGISTER 1 (DLSR1)
DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0B06
7
MSG TYPE
RUR
0
HDLC1 Message Type Identifier Indicates type of data link message received by Rx HDLC1 Controller 0 = Bit Oriented Signaling type data link message received 1 = Message Oriented Signaling type data link message received Transmit HDLC1 Start of Transmission Interrupt Status Indicates if the Transmit HDLC1 Start of Transmission Interrupt has occurred since the last read of this register. Transmit HDLC1 Controller will declare this interrupt when it has started to transmit a data link message. 0 = Transmit HDLC1 Start of Transmission interrupt has not occurred since the last read of this register 1 = Transmit HDLC1 Start of Transmission interrupt has occurred since the last read of this register. Receive HDLC1 Start of Reception Interrupt Status Indicates if the Receive HDLC1 Start of Reception interrupt has occurred since the last read of this register. Receive HDLC1 Controller will declare this interrupt when it has started to receive a data link message. 0 = Receive HDLC1 Start of Reception interrupt has not occurred since the last read of this register 1 = Receive HDLC1 Start of Reception interrupt has occurred since the last read of this register Transmit HDLC1 End of Transmission Interrupt Status Indicates if the Transmit HDLC1 End of Transmission Interrupt has occurred since the last read of this register. Transmit HDLC1 Controller will declare this interrupt when it has completed its transmission of a data link message. 0 = Transmit HDLC1 End of Transmission interrupt has not occurred since the last read of this register 1 = Transmit HDLC1 End of Transmission interrupt has occurred since the last read of this register Receive HDLC1 Controller End of Reception Interrupt Status Indicates if Receive HDLC1 End of Reception Interrupt has occurred since the last read of this register. Receive HDLC1 Controller will declare this interrupt once it has completely received a full data link message. 0 = Receive HDLC1 End of Reception interrupt has not occurred since the last read of this register 1 = Receive HDLC1 End of Reception Interrupt has occurred since the last read of this register FCS Error Interrupt Status Indicates if the FCS Error Interrupt has occurred since the last read of this register. Receive HDLC1 Controller will declare this interrupt if it detects an error in the most recently received data message. 0 = FCS Error interrupt has not occurred since last read of this register 1 = FCS Error interrupt has occurred since last read of this register Receipt of Abort Sequence Interrupt Status Indicates if the Receipt of Abort interrupt has occurred since last read of this register. Receive HDLC1 Controller will declare this interrupt if it detects a string of seven (7) consecutive 1's in the incoming data link channel. 0 = Receipt of Abort Sequence interrupt has not occurred since last read of this register 1 = Receipt of Abort Sequence interrupt has occurred since last read of this register
6
TxSOT
RUR
0
5
RxSOT
RUR
0
4
TxEOT
RUR
0
3
RxEOT
RUR
0
2
FCS Error
RUR
0
1
Rx ABORT
RUR
0
111
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 120: DATA LINK STATUS REGISTER 1
REGISTER 534
BIT FUNCTION TYPE
REV. P1.0.1
DATA LINK STATUS REGISTER 1 (DLSR1)
DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0B06
0
RxIDLE
RUR
0
Receipt of Idle Sequence Interrupt Status Indicates if the Receipt of Idle Sequence interrupt has occurred since the last read of this register. The Receive HDLC1 Controller will declare this interrupt if it detects the flag sequence octet (0x7E) in the incoming data link channel. 0 = Receipt of Idle Sequence interrupt has not occurred since last read of this register 1 = Receipt of Idle Sequence interrupt has occurred since last read of this register.
TABLE 121: DATA LINK INTERRUPT ENABLE REGISTER 1
REGISTER 535
BIT 7 FUNCTION Reserved
DATA LINK INTERRUPT ENABLE REGISTER 1 (DLIER1)
TYPE DEFAULT Reserved
HEX ADDRESS: 0X0B07
DESCRIPTION-OPERATION
6
TxSOT ENB
R/W
0
Transmit HDLC1 Start of Transmission Interrupt Enable 0 = Disables the Transmit HDLC1 Start of Transmission interrupt 1 = Enables the Transmit HDLC1 Start of Transmission interrupt Receive HDLC1 Start of Reception Interrupt Enable 0 = Disables the Receive HDLC1 Start of Reception interrupt 1 = Enables the Receive HDLC1 Start of Reception interrupt Transmit HDLC1 End of Transmission Interrupt Enable 0 = Disables the Transmit HDLC1 End of Transmission interrupt 1 = Enables the Transmit HDLC1 End of Transmission interrupt Receive HDLC1 End of Reception Interrupt Enable 0 = Disables the Receive HDLC1 End of Reception interrupt 1 = Enables the Receive HDLC1 End of Reception interrupt FCS Error Interrupt Enable 0 = Disables FCS Error interrupt 1 = Enables FCS Error interrupt Receipt of Abort Sequence Interrupt Enable 0 = Disables Receipt of Abort Sequence interrupt 1 = Enables Receive of Abort Sequence interrupt Receipt of Idle Sequence Interrupt Enable 0 = Disables Receipt of Idle Sequence interrupt 1 = Enables Receipt of Idle Sequence interrupt
5
RxSOT ENB
R/W
0
4
TxEOT ENB
R/W
0
3
RxEOT ENB
R/W
0
2
FCS ERR ENB
R/W
0
1
RxABORT ENB
R/W
0
0
RxIDLE ENB
R/W
0
112
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 122: SLIP BUFFER INTERRUPT STATUS REGISTER (SBISR)
REGISTER 536
BIT 7 FUNCTION TxSB_FULL
SLIP BUFFER INTERRUPT STATUS REGISTER (SBISR)
TYPE RUR/ WC RUR/ WC RUR/ WC R DEFAULT 0
HEX ADDRESS: 0X0B08
DESCRIPTION-OPERATION Slip buffer fills & a frame is deleted This bit is set when the elastic store fills and a frame is deleted. Slip buffer empties and a frame is repeated This bit is set when the elastic store empties and a frame is repeated. Receive slips This bit is set when the slip buffer slips. SLC(R)96 is in sync This bit indicates that SLC96 is in sync. Multiframe is in Sync This bit indicates that multiframe is in sync. Slip buffer fills & a frame is deleted This bit is set when the elastic store fills and a frame is deleted. Slip buffer empties and a frame is repeated This bit is set when the elastic store empties and a frame is repeated. Receive slips This bit is set when the slip buffer slips.
6
TxSB_EMPT
0
5
TxSB_SLIP
0
4
96LOCK
0
3
MLOCK
R
0
2
SB_FULL
RUR/ WC RUR/ WC RUR/ WC
0
1
SB_EMPT
0
0
SB_SLIP
0
TABLE 123: SLIP BUFFER INTERRUPT ENABLE REGISTER (SBIER)
REGISTER 537
BIT FUNCTION TxFULL_ENB 7 R/W 0
SLIP BUFFER INTERRUPT ENABLE REGISTER (SBIER)
TYPE DEFAULT
HEX ADDRESS: 0X0B09
DESCRIPTION-OPERATION Tx Interrupt Enable bit for slip buffer full Setting this bit enables interrupt when the elastic store fills and a frame is deleted. Tx Interrupt Enable bit for slip buffer empty Setting this bit enables interrupt when the elastic store empties and a frame is repeated. Tx Interrupt Enable bit for Slip buffer slip Setting this bit enables interrupt when the slip buffer slips. Reserved Interrupt Enable bit for slip buffer full Setting this bit enables interrupt when the elastic store fills and a frame is deleted. Interrupt Enable bit for slip buffer empty Setting this bit enables interrupt when the elastic store empties and a frame is repeated. Interrupt Enable bit for Slip buffer slip Setting this bit enables interrupt when the slip buffer slips.
TxEMPT_ENB 6 R/W 0
5 4-3
TxSLIP_ENB
R/W -
0 -
Reserved FULL_ENB
2
R/W
0
EMPT_ENB 1 R/W 0
0
SLIP_ENB
R/W
0
113
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 124: RECEIVE LOOPBACK CODE INTERRUPT AND STATUS REGISTER (RLCISR)
REGISTER 538
BIT 7 FUNCTION AUXPSTAT R
REV. P1.0.1
RECEIVE LOOPBACK CODE INTERRUPT AND STATUS REGISTER (RLCISR)
TYPE DEFAULT 0
HEX ADDRESS: 0X0B0A
DESCRIPTION-OPERATION AUXP state This bit indicates the status of receive AUXP pattern. AUXP state change interrupt 1 = Indicates the receive AUXP status has changed. CRC-4-to-non-CRC-4 interworking status This bit indicates the status of CRC-4 interworking status in MODENB mode. 1 = CRC-4-to-non-CRC-4 interworking is established. CRC-4-to-non-CRC-4 interworking interrupt 1 = Indicates the interworking status has changed. Receive activation status This bit indicates the status of receive activation process. 1 = Indicates the loopback code activation is received. Receive deactivation status This bit indicates the status of receive deactivation process. 1 = Indicates the loopback code deactivation is received. Receive activation interrupt 1 = Indicates the loopback code activation status has changed. Receive deactivation interrupt 1 = Indicates the loopback code deactivation status has changed.
6
AUXPINT
RUR/WC
0
NONCRCSTAT 5 R 0
4
NONCRCINT
RUR/WC
0
RXASTAT 3 R 0
RXDSTAT 2 R 0
1
RXAINT
RUR/WC
0
0
RXDINT
RUR/WC
0
TABLE 125: RECEIVE LOOPBACK CODE INTERRUPT ENABLE REGISTER (RLCIER)
REGISTER 539
BIT 6 5 4 3-2 1 FUNCTION AUXPINTENB
RECEIVE LOOPBACK CODE INTERRUPT ENABLE REGISTER (RLCIER)
TYPE R/W DEFAULT 0 0 0
HEX ADDRESS: 0X0B0B
DESCRIPTION-OPERATION AUXP interrupt enable 1 = Enables the receive AUXP detect interrupt. Reserved CRC-4 interworking interrupt enable 1 = Enables the CRC-4-non-CRC-4 interworking interrupt. Reserved Receive activation interrupt enable 1 = Enables the loopback code activation interrupt. Receive deactivation interrupt enable 1 = Enables the loopback code deactivation interrupt.
Reserved NONCRCENB
R/W
Reserved RXAENB
R/W
0
RXDENB
R/W
0
114
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 126: RECEIVE SA INTERRUPT REGISTER (RSAIR)
REGISTER 540
BIT 7 FUNCTION SA6_1111
RECEIVE SA INTERRUPT REGISTER (RSAIR)
TYPE R/W DEFAULT 0
HEX ADDRESS: 0X0B0C
DESCRIPTION-OPERATION Debounced Sa6 = 1111 received 1 = Indicates a debounced Sa6 = 1111 has been received. Debounced Sa6 = 1110 received 1 = Indicates a debounced Sa6 = 1111 has been received. Debounced Sa6 = 1100 received 1 = Indicates a debounced Sa6 = 1111 has been received. Debounced Sa6 = 1010 received 1 = Indicates a debounced Sa6 = 1010 has been received. Debounced Sa6 = 1000 received 1 = Indicates a debounced Sa6 = 1111 has been received. Debounced Sa6 = 001x received 1 = Indicates a debounced Sa6 = 1111 has been received. Debounced Sa6 = other received 1 = Indicates a debounced Sa6 equals to other combination received. Debounced Sa6 = 0000 received 1 = Indicates a debounced Sa6 = 0000 has been received.
6
SA6_1110
R/W
0
5
SA6_1100
R/W
0
4
SA6_1010
R/W
0
3
SA6_1000
R/W
0
2
SA6_001x
R/W
0
1
SA6_other
R/W
0
0
SA6_0000
R/W
0
115
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 127: RECEIVE SA INTERRUPT ENABLE REGISTER (RSAIER)
REGISTER 541
BIT 7 FUNCTION SA6_1111_ENB
REV. P1.0.1
RECEIVE SA INTERRUPT ENABLE REGISTER (RSAIER)
TYPE R/W DEFAULT 0
HEX ADDRESS: 0X0B0D
DESCRIPTION-OPERATION Debounced Sa6 = 1111 received enable 1 = Indicates a debounced Sa6 = 1111 has been received. Debounced Sa6 = 1110 received enable 1 = Enables the generation of an interrupt when a debounced Sa6 = 1111 has been received. Debounced Sa6 = 1100 received enable 1 = Enables the generation of an interrupt when a debounced Sa6 = 1111 has been received. Debounced Sa6 = 1010 received enable 1 = Enables the generation of an interrupt when a debounced Sa6 = 1111 has been received. Debounced Sa6 = 1000 received enable 1 = Enables the generation of an interrupt when a debounced Sa6 = 1111 has been received. Debounced Sa6 = 001x received enable 1 = Enables the generation of an interrupt when a debounced Sa6 = 1111 has been received. Debounced Sa6 = other received enable 1 = Enables the generation of an interrupt when a debounced Sa6 equals to other combinations received. Debounced Sa6 = 0000 received enable 1 = Enables the generation of an interrupt when a debounced Sa6 = 0000 has been received.
SA6_1110_ENB 6
R/W 0
SA6_1100_ENB 5
R/W 0
SA6_1010_ENB 4
R/W 0
SA6_1000_ENB 3
R/W 0
SA6_001x_ENB 2
R/W 0
SA6_other_ENB 1
R/W 0
SA6_0000_ENB 0
R/W 0
TABLE 128: EXCESSIVE ZERO STATUS REGISTER
REGISTER 542
BIT FUNCTION EXZ_STATUS 0
EXCESSIVE ZERO STATUS REGISTER (EXZSR)
TYPE RUR 0 DEFAULT
HEX ADDRESS: 0X0B0E
DESCRIPTION-OPERATION
Excessive Zero State Change
0 = No change in status 1 = Change in status has occurred
TABLE 129: EXCESSIVE ZERO ENABLE REGISTER
REGISTER 543
BIT FUNCTION EXZ_ENB 0
EXCESSIVE ZERO ENABLE REGISTER (EXZER)
TYPE R/W 0 DEFAULT
HEX ADDRESS: 0X0B0F
DESCRIPTION-OPERATION
Excessive Zero Interrupt Enable
0 = Disabled 1 = Enable excessive zero interrupt generation
116
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 130: SS7 STATUS REGISTER FOR LAPD1
REGISTER 544
BIT FUNCTION SS7_1_STATUS 0
SS7 STATUS REGISTER FOR LAPD1 (SS7SR1)
TYPE RUR 0 DEFAULT
HEX ADDRESS: 0X0B10
DESCRIPTION-OPERATION
SS7 Interrupt Status for LAPD1 0 = No change in status 1 = Change in status has occurred
TABLE 131: SS7 ENABLE REGISTER FOR LAPD1
REGISTER 545
BIT FUNCTION SS7_1_ENB 0
SS7 ENABLE REGISTER FOR LAPD1 (SS7ER1)
TYPE R/W 0 DEFAULT
HEX ADDRESS: 0X0B11
DESCRIPTION-OPERATION
SS7 Interrupt Enable for LAPD1 0 = Disabled 1 = Enable SS7 interrupt generation if more than 276 bytes are received within the LAPD1 message
117
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 132: DATA LINK STATUS REGISTER 2
REGISTER 546
BIT FUNCTION TYPE
REV. P1.0.1
DATA LINK STATUS REGISTER 2 (DLSR2)
DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0B16
7
MSG TYPE
RUR
0
HDLC2 Message Type Identifier Indicates type of data link message received by Rx HDLC2 Controller 0 = Bit Oriented Signaling type data link message received 1 = Message Oriented Signaling type data link message received Transmit HDLC2 Start of Transmission Interrupt Status Indicates if the Transmit HDLC2 Start of Transmission Interrupt has occurred since the last read of this register. Transmit HDLC2 Controller will declare this interrupt when it has started to transmit a data link message. 0 = Transmit HDLC2 Start of Transmission interrupt has not occurred since the last read of this register 1 = Transmit HDLC2 Start of Transmission interrupt has occurred since the last read of this register. Receive HDLC2 Start of Reception Interrupt Status Indicates if the Receive HDLC2 Start of Reception interrupt has occurred since the last read of this register. Receive HDLC2 Controller will declare this interrupt when it has started to receive a data link message. 0 = Receive HDLC2 Start of Reception interrupt has not occurred since the last read of this register 1 = Receive HDLC2 Start of Reception interrupt has occurred since the last read of this register Transmit HDLC2 End of Transmission Interrupt Status Indicates if the Transmit HDLC2 End of Transmission Interrupt has occurred since the last read of this register. Transmit HDLC2 Controller will declare this interrupt when it has completed its transmission of a data link message. 0 = Transmit HDLC2 End of Transmission interrupt has not occurred since the last read of this register 1 = Transmit HDLC2 End of Transmission interrupt has occurred since the last read of this register Receive HDLC2 Controller End of Reception Interrupt Status Indicates if Receive HDLC2 End of Reception Interrupt has occurred since the last read of this register. Receive HDLC2 Controller will declare this interrupt once it has completely received a full data link message. 0 = Receive HDLC2 End of Reception interrupt has not occurred since the last read of this register 1 = Receive HDLC2 End of Reception Interrupt has occurred since the last read of this register FCS Error Interrupt Status Indicates if the FCS Error Interrupt has occurred since the last read of this register. Receive HDLC2 Controller will declare this interrupt if it detects an error in the most recently received data message. 0 = FCS Error interrupt has not occurred since last read of this register 1 = FCS Error interrupt has occurred since last read of this register Receipt of Abort Sequence Interrupt Status Indicates if the Receipt of Abort interrupt has occurred since last read of this register. Receive HDLC2 Controller will declare this interrupt if it detects a string of seven (7) consecutive 1's in the incoming data link channel. 0 = Receipt of Abort Sequence interrupt has not occurred since last read of this register 1 = Receipt of Abort Sequence interrupt has occurred since last read of this register
6
TxSOT
RUR
0
5
RxSOT
RUR
0
4
TxEOT
RUR
0
3
RxEOT
RUR
0
2
FCS Error
RUR
0
1
Rx ABORT
RUR
0
118
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 132: DATA LINK STATUS REGISTER 2
DATA LINK STATUS REGISTER 2 (DLSR2)
FUNCTION TYPE DEFAULT DESCRIPTION-OPERATION Receipt of Idle Sequence Interrupt Status Indicates if the Receipt of Idle Sequence interrupt has occurred since the last read of this register. The Receive HDLC2 Controller will declare this interrupt if it detects the flag sequence octet (0x7E) in the incoming data link channel. 0 = Receipt of Idle Sequence interrupt has not occurred since last read of this register 1 = Receipt of Idle Sequence interrupt has occurred since last read of this register.
REGISTER 546
BIT
HEX ADDRESS: 0X0B16
0
RxIDLE
RUR
0
TABLE 133: DATA LINK INTERRUPT ENABLE REGISTER 2
REGISTER 547
BIT 7 FUNCTION Reserved
DATA LINK INTERRUPT ENABLE REGISTER 2 (DLIER2)
TYPE DEFAULT Reserved
HEX ADDRESS: 0X0B17
DESCRIPTION-OPERATION
6
TxSOT ENB
R/W
0
Transmit HDLC2 Start of Transmission Interrupt Enable 0 = Disables the Transmit HDLC2 Start of Transmission interrupt 1 = Enables the Transmit HDLC2 Start of Transmission interrupt Receive HDLC2 Start of Reception Interrupt Enable 0 = Disables the Receive HDLC2 Start of Reception interrupt 1 = Enables the Receive HDLC2 Start of Reception interrupt Transmit HDLC2 End of Transmission Interrupt Enable 0 = Disables the Transmit HDLC2 End of Transmission interrupt 1 = Enables the Transmit HDLC2 End of Transmission interrupt Receive HDLC2 End of Reception Interrupt Enable 0 = Disables the Receive HDLC2 End of Reception interrupt 1 = Enables the Receive HDLC2 End of Reception interrupt FCS Error Interrupt Enable 0 = Disables FCS Error interrupt 1 = Enables FCS Error interrupt Receipt of Abort Sequence Interrupt Enable 0 = Disables Receipt of Abort Sequence interrupt 1 = Enables Receive of Abort Sequence interrupt Receipt of Idle Sequence Interrupt Enable 0 = Disables Receipt of Idle Sequence interrupt 1 = Enables Receipt of Idle Sequence interrupt
5
RxSOT ENB
R/W
0
4
TxEOT ENB
R/W
0
3
RxEOT ENB
R/W
0
2
FCS ERR ENB
R/W
0
1
RxABORT ENB
R/W
0
0
RxIDLE ENB
R/W
0
TABLE 134: SS7 STATUS REGISTER FOR LAPD2
REGISTER 548
BIT FUNCTION SS7_2_STATUS 0
SS7 STATUS REGISTER FOR LAPD2 (SS7SR2)
TYPE RUR 0 DEFAULT
HEX ADDRESS: 0X0B18
DESCRIPTION-OPERATION
SS7 Interrupt Status for LAPD2 0 = No change in status 1 = Change in status has occurred
119
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 135: SS7 ENABLE REGISTER FOR LAPD2
REGISTER 549
BIT FUNCTION SS7_2_ENB 0
REV. P1.0.1
SS7 ENABLE REGISTER FOR LAPD2 (SS7ER2)
TYPE R/W 0 DEFAULT
HEX ADDRESS: 0X0B19
DESCRIPTION-OPERATION
SS7 Interrupt Enable for LAPD2 0 = Disabled 1 = Enable SS7 interrupt generation if more than 276 bytes are received within the LAPD2 message
120
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 136: DATA LINK STATUS REGISTER 3
REGISTER 550
BIT FUNCTION TYPE
DATA LINK STATUS REGISTER 3 (DLSR3)
DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0B26
7
MSG TYPE
RUR
0
HDLC3 Message Type Identifier Indicates type of data link message received by Rx HDLC3 Controller 0 = Bit Oriented Signaling type data link message received 1 = Message Oriented Signaling type data link message received Transmit HDLC3 Start of Transmission Interrupt Status Indicates if the Transmit HDLC3 Start of Transmission Interrupt has occurred since the last read of this register. Transmit HDLC3 Controller will declare this interrupt when it has started to transmit a data link message. 0 = Transmit HDLC3 Start of Transmission interrupt has not occurred since the last read of this register 1 = Transmit HDLC3 Start of Transmission interrupt has occurred since the last read of this register. Receive HDLC3 Start of Reception Interrupt Status Indicates if the Receive HDLC3 Start of Reception interrupt has occurred since the last read of this register. Receive HDLC3 Controller will declare this interrupt when it has started to receive a data link message. 0 = Receive HDLC3 Start of Reception interrupt has not occurred since the last read of this register 1 = Receive HDLC3 Start of Reception interrupt has occurred since the last read of this register Transmit HDLC3 End of Transmission Interrupt Status Indicates if the Transmit HDLC3 End of Transmission Interrupt has occurred since the last read of this register. Transmit HDLC3 Controller will declare this interrupt when it has completed its transmission of a data link message. 0 = Transmit HDLC3 End of Transmission interrupt has not occurred since the last read of this register 1 = Transmit HDLC3 End of Transmission interrupt has occurred since the last read of this register Receive HDLC3 Controller End of Reception Interrupt Status Indicates if Receive HDLC3 End of Reception Interrupt has occurred since the last read of this register. Receive HDLC3 Controller will declare this interrupt once it has completely received a full data link message. 0 = Receive HDLC3 End of Reception interrupt has not occurred since the last read of this register 1 = Receive HDLC3 End of Reception Interrupt has occurred since the last read of this register FCS Error Interrupt Status Indicates if the FCS Error Interrupt has occurred since the last read of this register. Receive HDLC3 Controller will declare this interrupt if it detects an error in the most recently received data message. 0 = FCS Error interrupt has not occurred since last read of this register 1 = FCS Error interrupt has occurred since last read of this register Receipt of Abort Sequence Interrupt Status Indicates if the Receipt of Abort interrupt has occurred since last read of this register. Receive HDLC3 Controller will declare this interrupt if it detects a string of seven (7) consecutive 1's in the incoming data link channel. 0 = Receipt of Abort Sequence interrupt has not occurred since last read of this register 1 = Receipt of Abort Sequence interrupt has occurred since last read of this register
6
TxSOT
RUR
0
5
RxSOT
RUR
0
4
TxEOT
RUR
0
3
RxEOT
RUR
0
2
FCS Error
RUR
0
1
Rx ABORT
RUR
0
121
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
BIT FUNCTION TYPE DEFAULT DESCRIPTION-OPERATION
REV. P1.0.1
0
RxIDLE
RUR
0
Receipt of Idle Sequence Interrupt Status Indicates if the Receipt of Idle Sequence interrupt has occurred since the last read of this register. The Receive HDLC2 Controller will declare this interrupt if it detects the flag sequence octet (0x7E) in the incoming data link channel. 0 = Receipt of Idle Sequence interrupt has not occurred since last read of this register 1 = Receipt of Idle Sequence interrupt has occurred since last read of this register.
TABLE 137: DATA LINK INTERRUPT ENABLE REGISTER 3
REGISTER 551
BIT 7 FUNCTION Reserved
DATA LINK INTERRUPT ENABLE REGISTER 3 (DLIER3)
TYPE DEFAULT Reserved
HEX ADDRESS: 0X0B27
DESCRIPTION-OPERATION
6
TxSOT ENB
R/W
0
Transmit HDLC3 Start of Transmission Interrupt Enable 0 = Disables the Transmit HDLC3 Start of Transmission interrupt 1 = Enables the Transmit HDLC3 Start of Transmission interrupt Receive HDLC3 Start of Reception Interrupt Enable 0 = Disables the Receive HDLC3 Start of Reception interrupt 1 = Enables the Receive HDLC3 Start of Reception interrupt Transmit HDLC3 End of Transmission Interrupt Enable 0 = Disables the Transmit HDLC3 End of Transmission interrupt 1 = Enables the Transmit HDLC3 End of Transmission interrupt Receive HDLC3 End of Reception Interrupt Enable 0 = Disables the Receive HDLC3 End of Reception interrupt 1 = Enables the Receive HDLC3 End of Reception interrupt FCS Error Interrupt Enable 0 = Disables FCS Error interrupt 1 = Enables FCS Error interrupt Receipt of Abort Sequence Interrupt Enable 0 = Disables Receipt of Abort Sequence interrupt 1 = Enables Receive of Abort Sequence interrupt Receipt of Idle Sequence Interrupt Enable 0 = Disables Receipt of Idle Sequence interrupt 1 = Enables Receipt of Idle Sequence interrupt
5
RxSOT ENB
R/W
0
4
TxEOT ENB
R/W
0
3
RxEOT ENB
R/W
0
2
FCS ERR ENB
R/W
0
1
RxABORT ENB
R/W
0
0
RxIDLE ENB
R/W
0
TABLE 138: SS7 STATUS REGISTER FOR LAPD3
REGISTER 552
BIT FUNCTION SS7_3_STATUS 0
SS7 STATUS REGISTER FOR LAPD3 (SS7SR3)
TYPE RUR 0 DEFAULT
HEX ADDRESS: 0X0B28
DESCRIPTION-OPERATION
SS7 Interrupt Status for LAPD3 0 = No change in status 1 = Change in status has occurred
122
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 139: SS7 ENABLE REGISTER FOR LAPD3
REGISTER 553
BIT FUNCTION SS7_3_ENB 0
SS7 ENABLE REGISTER FOR LAPD3 (SS7ER3)
TYPE R/W 0 DEFAULT
HEX ADDRESS: 0X0B29
DESCRIPTION-OPERATION
SS7 Interrupt Enable for LAPD3 0 = Disabled 1 = Enable SS7 interrupt generation if more than 276 bytes are received within the LAPD3 message
TABLE 140: CUSTOMER INSTALLATION ALARM STATUS REGISTER
REGISTER 554
BIT FUNCTION
CUSTOMER INSTALLATION ALARM STATUS REGISTER (CIASR)
TYPE R/W 0 DEFAULT These bits are reserved
HEX ADDRESS: 0X0B40
DESCRIPTION-OPERATION
[7:6] Reserved RxAIS-CI_state 5
Rx AIS-CI State 0 = No AIS-CI state detected 1 = AIS-CI state detected Rx RAI-CI State 0 = No RAI-CI state detected 1 = RAI-CI state detected
These bits are reserved
RxRAI-CI_state 4
R/W 0
[3:2] Reserved RxAIS-CI 1
RUR
-
0
Rx AIS-CI State Change 0 = No change in status 1 = Change of status has occurred Rx RAI-CI State Change 0 = No change in status 1 = Change of status has occurred
RxRAI-CI 0
RUR 0
TABLE 141: CUSTOMER INSTALLATION ALARM STATUS REGISTER
REGISTER 555
BIT
CUSTOMER INSTALLATION ALARM INTERRUPT ENABLE REGISTER (CIAIER)
FUNCTION TYPE R/W 0 DEFAULT DESCRIPTION-OPERATION
HEX ADDRESS: 0X0B41
RxAIS-CI_ENB 1
Rx AIS-CI Interrupt Generation Enable 0 = Disabled 1 - Enable Rx AIS-CI Interrupt Generation Rx RAI-CI Interrupt Generation Enable 0 = Disabled 1 - Enable Rx RAI-CI Interrupt Generation
RxRAI-CI_ENB 0
R/W 0
123
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
3.5 PROGRAMMING THE LINE INTERFACE UNIT (LIU SECTION) Control Registers TABLE 142: MICROPROCESSOR REGISTER #556 BIT DESCRIPTION
REGISTER ADDRESS 0X0F00H BIT # D7 D6 D5 CHANNEL 0 FUNCTION NAME Reserved Reserved RXON_n This Bit Is Not Used This Bit Is Not Used Receiver ON: Writing a "1" into this bit location turns on the Receive Section of channel n. Writing a "0" shuts off the Receiver Section of channel n. Equalizer Control bit 4: This bit together with EQC[3:0] are used for controlling transmit pulse shaping, transmit line buildout (LBO) and receive monitoring for either T1 or E1 Modes of operation. See Table 143. Equalizer Control bit 3: See bit D4 description for function of this bit Equalizer Control bit 2: See bit D4 description for function of this bit Equalizer Control bit 1: See bit D4 description for function of this bit Equalizer Control bit 0: See bit D4 description for function of this bit R/W R/W R/W
REV. P1.0.1
REGISTER TYPE
RESET VALUE 0
0
D4
EQC4_n
R/W
0
D3 D2 D1 D0
EQC3_n EQC2_n EQC1_n EQC0_n
R/W R/W R/W R/W
0 0 0 0
124
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 143: EQUALIZER CONTROL AND TRANSMIT LINE BUILD OUT
EQC[4:0] 0x00h 0x01h 0x02h 0x03h 0x04h 0x05h 0x06h 0x07h 0x08h 0x09h 0x0Ah 0x0Bh 0x0Ch 0x0Dh 0x0Eh 0x0Fh 0x10h 0x11h 0x12h 0x13h 0x14h 0x15h 0x16h 0x17h 0x18h 0x19h 0x1Ah 0x1Bh 0x1Ch 0x1Dh 0x1Eh 0x1Fh T1/E1 MODE/RECEIVE SENSITIVITY T1 Long Haul/36dB T1 Long Haul/36dB T1 Long Haul/36dB T1 Long Haul/36dB T1 Long Haul/45dB T1 Long Haul/45dB T1 Long Haul/45dB T1 Long Haul/45dB T1 Short Haul/15dB T1 Short Haul/15dB T1 Short Haul/15dB T1 Short Haul/15dB T1 Short Haul/15dB T1 Short Haul/15dB T1 Gain Mode/29dB T1 Gain Mode/29dB T1 Gain Mode/29dB T1 Gain Mode/29dB T1 Gain Mode/29dB T1 Gain Mode/29dB T1 Gain Mode/29dB T1 Gain Mode/29dB T1 Gain Mode/29dB T1 Gain Mode/29dB E1 Long Haul/36dB E1 Long Haul/36dB E1 Long Haul/45dB E1 Long Haul/45dB E1 Short Haul/15dB E1 Short Haul/15dB E1 Gain Mode/29dB E1 Gain Mode/29dB TRANSMIT LBO 0dB -7.5dB -15dB -22.5dB 0dB -7.5dB -15dB -22.5dB 0 to 133 feet (0.6dB) 133 to 266 feet (1.2dB) 266 to 399 feet (1.8dB) 399 to 533 feet (2.4dB) 533 to 655 feet (3.0dB) Arbitrary Pulse 0 to 133 feet (0.6dB) 133 to 266 feet (1.2dB) 266 to 399 feet (1.8dB) 399 to 533 feet (2.4dB) 533 to 655 feet (3.0dB) Arbitrary Pulse 0dB -7.5dB -15dB -22.5dB ITU G.703 ITU G.703 ITU G.703 ITU G.703 ITU G.703 ITU G.703 ITU G.703 ITU G.703 CABLE 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 100 TP 75 Coax 120 TP 75 Coax 120 TP 75 Coax 120 TP 75 Coax 120 TP
125
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 144: MICROPROCESSOR REGISTER #557 BIT DESCRIPTION
REGISTER ADDRESS 0X0F01H BIT # D7 CHANNEL_0 FUNCTION NAME RXTSEL_n Receiver Termination Select: In Host mode, this bit is used to select between the internal termination and "High" impedance modes for the receiver according to the following table; R/W
REV. P1.0.1
REGISTER TYPE
RESET VALUE 0
RXTSEL 0 1
D6 TXTSEL_n
RX Termination "High" Impedance Internal
R/W 0
Transmit Termination Select: In Host mode, this bit is used to select between the internal termination and "High" impedance modes for the transmitter according to the following table;
TXTSEL 0 1
D5
TX Termination "High" Impedance Internal
R/W 0
TERSEL1_n Termination Impedance Select1: In Host mode and in internal termination mode, (TXTSEL = "1" and RXTSEL = "1") TERSEL[1:0] control the transmit and receive termination impedance according to the following table;
TERSEL1 TERSEL0 0 0 1 1 0 1 0 1
Termination 100 110 75 120
In the internal termination mode, the receiver termination of each receiver is realized completely by internal resistors or by the combination of internal and one fixed external resistor. In the internal termination mode, the transmitter output should be AC coupled to the transformer. D4 D3 TERSEL0_n Termination Impedance Select bit 0: RxJASEL_n Receive Jitter Attenuator Enable The bit is used to enable the receive jitter attenuator. "0" = Disabled "1" = Enable the Receive Jitter Attenuator R/W R/W 0 0
126
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 144: MICROPROCESSOR REGISTER #557 BIT DESCRIPTION
TxJASEL_n Transmit Jitter Attenuator Enable The bit is used to enable the transmit jitter attenuator. "0" = Disabled "1" = Enable the Transmit Jitter Attenuator Jitter Attenuator Bandwidth Select: In E1 mode, set this bit to "1" to select a 1.5Hz Bandwidth for the Jitter Attenuator. The FIFO length will be automatically set to 64 bits. Set this bit to "0" to select 10Hz Bandwidth for the Jitter Attenuator in E1 mode. In T1 mode the Jitter Attenuator Bandwidth is permanently set to 3Hz, and the state of this bit has no effect on the Bandwidth.
Mode T1 T1 T1 T1 E1 E1 E1 E1 JABW bit D1 0 0 1 1 0 0 1 1 FIFOS_n bit D0 0 1 0 1 0 1 0 1 JA B-W Hz 3 3 3 3 10 10 1.5 1.5 FIFO Size 32 64 32 64 32 64 64 64
D2
R/W
0
D1
JABW_n
R/W
0
D0
FIFOS_n
FIFO Size Select: See table of bit D1 above for the function of this bit.
R/W
0
TABLE 145: MICROPROCESSOR REGISTER #558 BIT DESCRIPTION
REGISTER ADDRESS 0X0F02H BIT # D7 CHANNEL_0 FUNCTION NAME INVQRSS_n Invert QRSS Pattern: When TQRSS is active, Writing a "1" to this bit inverts the polarity of transmitted QRSS pattern. Writing a "0" sends the QRSS pattern with no inversion. R/W 0 REGISTER TYPE RESET VALUE
127
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 145: MICROPROCESSOR REGISTER #558 BIT DESCRIPTION
D6 TXTEST2_n Transmit Test Pattern bit 2: This bit together with TXTEST1 and TXTEST0 are used to generate and transmit test patterns according to the following table:
TXTEST2 0 1 1 1 1 TXTEST1 X 0 0 1 1 TXTEST0 X 0 1 0 1 Test Pattern No Pattern TDQRSS TAOS TLUC TLDC
REV. P1.0.1
R/W
0
TDQRSS (Transmit/Detect Quasi-Random Signal): This condition when activated enables Quasi-Random Signal Source generation and detection for the selected channel number n. In a T1 system QRSS pattern is a 220-1 pseudorandom bit sequence (PRBS) with no more than 14 consecutive zeros. In a E1 system, QRSS is a 215-1 PRBS pattern. TAOS (Transmit All Ones): Activating this condition enables the transmission of an All Ones Pattern from the selected channel number n. TLUC (Transmit Network Loop-Up Code): Activating this condition enables the Network Loop-Up Code of "00001" to be transmitted to the line for the selected channel number n. When Network Loop-Up code is being transmitted, the XRT86L30 will ignore the Automatic Loop-Code detection and Remote Loop-Back activation (NLCDE1 ="1", NLCDE0 ="1", if activated) in order to avoid activating Remote Digital LoopBack automatically when the remote terminal responds to the Loop-Back request. TLDC (Transmit Network Loop-Down Code): Activating this condition enables the network Loop-Down Code of "001" to be transmitted to the line for the selected channel number n. D5 D4 D3 TXTEST1_n Transmit Test pattern bit 1: See description of bit D6 for the function of this bit. TXTEST0_n Transmit Test Pattern bit 0: See description of bit D6 for the function of this bit. TXON_n Transmitter ON: Writing a "1" into this bit location turns on the Transmit Section of channel n. Writing a "0" shuts off the Transmit Section of channel n. In this mode, TTIP_n and TRING_n driver outputs will be tri-stated for power reduction or redundancy applications. R/W R/W R/W 0 0 0
128
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 145: MICROPROCESSOR REGISTER #558 BIT DESCRIPTION
LOOP2_n Loop-Back control bit 2: This bit together with the LOOP1 and LOOP0 bits control the Loop-Back modes of the LIU section of the chip according to the following table: LOOP2 0 1 1 1 1 LOOP1 X 0 0 1 1 LOOP0 X 0 1 0 1 Loop-Back Mode No Loop-Back Dual Loop-Back Analog Loop-Back Remote Loop-Back Digital Loop-Back R/W R/W 0 0
D2
D1 D0
LOOP1_n LOOP0_n
Loop-Back control bit 1: See description of bit D2 for the function of this bit. Loop-Back control bit 0: See description of bit D2 for the function of this bit.
TABLE 146: MICROPROCESSOR REGISTER #559 BIT DESCRIPTION
REGISTER ADDRESS 0X0F03H BIT # CHANNEL_0 FUNCTION NAME REGISTER TYPE RESET VALUE
129
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 146: MICROPROCESSOR REGISTER #559 BIT DESCRIPTION
D7 NLCDE1_n Network Loop Code Detection Enable Bit 1: This bit together with NLCDE0_n control the Loop-Code detection of each channel. R/W
REV. P1.0.1
0
NLCDE1 0 0 1 1
NLCDE0 0 1 0 1
Function
Disable Loop-code detection Detect Loop-Up code in receive data Detect Loop-Down code in receive data Automatic Loop-Code detection
When NLCDE1 ="0" and NLCDE0 = "1" or NLCDE1 = "1" and NLCDE0 = "0", the chip is manually programmed to monitor the receive data for the Loop-Up or Loop-Down code respectively.When the presence of the "00001" or "001" pattern is detected for more than 5 seconds, the status of the NLCD bit is set to "1" and if the NLCD interrupt is enabled, an interrupt is initiated.The Host has the option to control the Loop-Back function manually. Setting the NLCDE1 = "1" and NLCDE0 = "1" enables the Automatic Loop-Code detection and Remote Loop-Back activation mode. As this mode is initiated, the state of the NLCD interface bit is reset to "0" and the chip is programmed to monitor the receive data for the Loop-Up code. If the "00001" pattern is detected for longer than 5 seconds, the NLCD bit is set "1", Remote Loop-Back is activated and the chip is automatically programmed to monitor the receive data for the LoopDown code. The NLCD bit stays set even after the chip stops receiving the Loop-Up code. The Remote Loop-Back condition is removed when the chip receives the Loop-Down code for more than 5 seconds or if the Automatic Loop-Code detection mode is terminated. D6 NLCDE0_n Network Loop Code Detection Enable Bit 0: See description of D7 for function of this bit. This Bit Is Not Used Receive External Resistor Control Pin 1: In Host mode, this bit along with the RXRES0_n bit selects the value of the external Receive fixed resistor according to the following table;
RXRE S1_n RXRE S0_n
R equired Fixed External RX Resistor N o external Fixed R esistor
R/W
0
D5 D4
Reserved RXRES1_n
R/W R/W
0 0
0 0 1 1
0 1 0 1
240 210 150
D3
RXRES0_n
Receive External Resistor Control Pin 0: For function of this bit see description of D4 the RXRES1_n bit.
R/W
0
130
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 146: MICROPROCESSOR REGISTER #559 BIT DESCRIPTION
INSBPV_n Insert Bipolar Violation: When this bit transitions from "0" to "1", a bipolar violation is inserted in the transmitted data stream of the selected channel number n. Bipolar violation can be inserted either in the QRSS pattern, or input data when operating in single-rail mode. The state of this bit is sampled on the rising edge of the respective TCLK_n. R/W 0
D2
NOTE: To ensure the insertion of a bipolar violation, a "0" should be written in this bit location before writing a "1".
D1 INSBER_n Insert Bit Error: With TDQRSS enabled, when this bit transitions from "0" to "1", a bit error will be inserted in the transmitted QRSS pattern of the selected channel number n. The state of this bit is sampled on the rising edge of the respective TCLK_n. R/W 0
NOTE: To ensure the insertion of bit error, a "0" should be written in this bit location before writing a "1".
D0 Reserved This Bit Is Not Used R/W 0
TABLE 147: MICROPROCESSOR REGISTER #560 BIT DESCRIPTION
REGISTER ADDRESS 0X0F04H BIT # D7 D6 D5 CHANNEL_0 FUNCTION NAME Reserved DMOIE_n FLSIE_n This Bit Is Not Used DMO Interrupt Enable: Writing a "1" to this bit enables DMO interrupt generation, writing a "0" masks it. FIFO Limit Status Interrupt Enable: Writing a "1" to this bit enables interrupt generation when the FIFO limit is within to 3 bits, writing a "0" to masks it. Line Code Violation Interrupt Enable: Writing a "1" to this bit enables Line Code Violation interrupt generation, writing a "0" masks it. Network Loop-Code Detection Interrupt Enable: Writing a "1" to this bit enables Network Loop-code detection interrupt generation, writing a "0" masks it. AIS Interrupt Enable: Writing a "1" to this bit enables Alarm Indication Signal detection interrupt generation, writing a "0" masks it. Receive Loss of Signal Interrupt Enable: Writing a "1" to this bit enables Loss of Receive Signal interrupt generation, writing a "0" masks it. QRSS Pattern Detection Interrupt Enable: Writing a "1" to this bit enables QRSS pattern detection interrupt generation, writing a "0" masks it. RO R/W R/W 0 0 0 REGISTER TYPE RESET VALUE
D4
LCVIE_n
R/W
0
D3
NLCDIE_n
R/W
0
D2
AISDIE_n
R/W
0
D1
RLOSIE_n
R/W
0
D0
QRPDIE_n
R/W
0
131
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 148: MICROPROCESSOR REGISTER #561 BIT DESCRIPTION
REGISTER ADDRESS 0X0F05H BIT # D7 D6 CHANNEL_0 FUNCTION NAME Reserved DMO_n Driver Monitor Output: This bit is set to a "1" to indicate transmit driver failure is detected. The value of this bit is based on the current status of DMO for the corresponding channel. If the DMOIE bit is enabled, any transition on this bit will generate an Interrupt. FIFO Limit Status: This bit is set to a "1" to indicate that the jitter attenuator read/write FIFO pointers are within +/- 3 bits. If the FLSIE bit is enabled, any transition on this bit will generate an Interrupt. Line Code Violation: This bit is set to a "1" to indicate that the receiver of channel n is currently detecting a Line Code Violation or an excessive number of zeros in the B8ZS or HDB3 modes. If the LCVIE bit is enabled, any transition on this bit will generate an Interrupt. Network Loop-Code Detection: This bit operates differently in the Manual or the Automatic Network Loop-Code detection modes. In the Manual Loop-Code detection mode, (NLCDE1 = "0" and NLCDE0 = "1" or NLCDE1 = "1" and NLCDE0 = "0") this bit gets set to "1" as soon as the Loop-Up ("00001") or LoopDown ("001") code is detected in the receive data for longer than 5 seconds. The NLCD bit stays in the "1" state for as long as the chip detects the presence of the Loop-code in the receive data and it is reset to "0" as soon as it stops receiving it. In this mode, if the NLCD interrupt is enabled, the chip will initiate an interrupt on every transition of the NLCD. When the Automatic Loop-code detection mode, (NLCDE1 = "1" and NLCDE0 ="1") is initiated, the state of the NLCD interface bit is reset to "0" and the chip is programmed to monitor the receive input data for the Loop-Up code. This bit is set to a "1" to indicate that the Network Loop Code is detected for more than 5 seconds. Simultaneously the Remote Loop-Back condition is automatically activated and the chip is programmed to monitor the receive data for the Network Loop Down code. The NLCD bit stays in the "1" state for as long as the Remote Loop-Back condition is in effect even if the chip stops receiving the Loop-Up code. Remote Loop-Back is removed if the chip detects the "001" pattern for longer than 5 seconds in the receive data.Detecting the "001" pattern also results in resetting the NLCD interface bit and initiating an interrupt provided the NLCD interrupt enable bit is active. When programmed in Automatic detection mode, the NLCD interface bit stays "High" for the entire time the Remote Loop-Back is active and initiate an interrupt anytime the status of the NLCD bit changes. In this mode, the Host can monitor the state of the NLCD bit to determine if the Remote LoopBack is activated. RO RO
REV. P1.0.1
REGISTER TYPE
RESET VALUE 0 0
D5
FLS_n
RO
0
D4
LCV_n
RO
0
D3
NLCD_n
RO
0
132
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 148: MICROPROCESSOR REGISTER #561 BIT DESCRIPTION
AISD_n Alarm Indication Signal Detect: This bit is set to a "1" to indicate All Ones Signal is detected by the receiver. The value of this bit is based on the current status of Alarm Indication Signal detector of channel n. If the AISDIE bit is enabled, any transition on this bit will generate an Interrupt. Receive Loss of Signal: This bit is set to a "1" to indicate that the receive input signal is lost. The value of this bit is based on the current status of the receive input signal of channel n. If the RLOSIE bit is enabled, any transition on this bit will generate an Interrupt. Quasi-random Pattern Detection: This bit is set to a "1" to indicate the receiver is currently in synchronization with QRSS pattern. The value of this bit is based on the current status of Quasi-random pattern detector of channel n. If the QRPDIE bit is enabled, any transition on this bit will generate an Interrupt. RO 0
D2
D1
RLOS_n
RO
0
D0
QRPD_n
RO
0
TABLE 149: MICROPROCESSOR REGISTER #562 BIT DESCRIPTION
REGISTER ADDRESS 0X0F06H BIT # D7 D6 CHANNEL_0 FUNCTION NAME Reserved DMOIS_n Driver Monitor Output Interrupt Status: This bit is set to a "1" every time the DMO status has changed since last read. RO RUR 0 0 REGISTER TYPE RESET VALUE
NOTE: This bit is reset upon read.
D5 FLSIS_n FIFO Limit Interrupt Status: This bit is set to a "1" every time when FIFO Limit (Read/Write pointer with +/- 3 bits apart) status has changed since last read. RUR 0
NOTE: This bit is reset upon read.
D4 LCVIS_n Line Code Violation Interrupt Status: This bit is set to a "1" every time when LCV status has changed since last read. RUR 0
NOTE: This bit is reset upon read.
D3 NLCDIS_n Network Loop-Code Detection Interrupt Status: This bit is set to a "1" every time when NLCD status has changed since last read. RUR 0
NOTE: This bit is reset upon read.
D2 AISDIS_n AIS Detection Interrupt Status: This bit is set to a "1" every time when AISD status has changed since last read. RUR 0
NOTE: This bit is reset upon read.
D1 RLOSIS_n Receive Loss of Signal Interrupt Status: This bit is set to a "1" every time RLOS status has changed since last read. RUR 0
NOTE: This bit is reset upon read.
D0 QRPDIS_n Quasi-Random Pattern Detection Interrupt Status: This bit is set to a "1" every time when QRPD status has changed since last read. RUR 0
NOTE: This bit is reset upon read.
133
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 150: MICROPROCESSOR REGISTER #563 BIT DESCRIPTION
REGISTER ADDRESS 0X0F07H BIT # D7 D6 D5 CHANNEL_0 FUNCTION NAME Reserved Reserved CLOS5_n Cable Loss bit 5: CLOS[5:0]_n are the six bit receive selective equalizer setting which is also a binary word that represents the cable attenuation indication within 1dB. CLOS5_n is the most significant bit (MSB) and CLOS0_n is the least significant bit (LSB). Cable Loss bit 4: See description of D5 for function of this bit. Cable Loss bit 3: See description of D5 for function of this bit. Cable Loss bit 2: See description of D5 for function of this bit. Cable Loss bit 1: See description of D5 for function of this bit. Cable Loss bit 0: See description of D5 for function of this bit. RO RO RO
REV. P1.0.1
REGISTER TYPE
RESET VALUE 0 0 0
D4 D3 D2 D1 D0
CLOS4_n CLOS3_n CLOS2_n CLOS1_n CLOS0_n
RO RO RO RO RO
0 0 0 0 0
134
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 151: MICROPROCESSOR REGISTER #564 BIT DESCRIPTION
REGISTER ADDRESS 0X0F08H BIT # D7 D6-D0
CHANNEL_0 FUNCTION NAME Reserved B6S1_n B0S1_n Arbitrary Transmit Pulse Shape, Segment 1:The shape of each channel's transmitted pulse can be made independently user programmable by selecting "Arbitrary Pulse" mode. The arbitrary pulse is divided into eight time segments whose combined duration is equal to one period of MCLK. This 7 bit number represents the amplitude of the nth channel's arbitrary pulse during the first time segment. B6S1_nB0S1_n is in signed magnitude format with B6S1_n as the sign bit and B0S1_n as the least significant bit (LSB).
REGISTER TYPE R/W R/W
RESET VALUE 0 0
TABLE 152: MICROPROCESSOR REGISTER #565 BIT DESCRIPTION
REGISTER ADDRESS 0X0F09H BIT # D7 D6-D0 CHANNEL_0 FUNCTION NAME Reserved B6S2_n B0S2_n Arbitrary Transmit Pulse Shape, Segment 2 The shape of each channel's transmitted pulse can be made independently user programmable by selecting "Arbitrary Pulse" mode. The arbitrary pulse is divided into eight time segments whose combined duration is equal to one period of MCLK. This 7 bit number represents the amplitude of the nth channel's arbitrary pulse during the second time segment. B6S2_nB0S2_n is in signed magnitude format with B6S2_n as the sign bit and B0S2_n as the least significant bit (LSB). R/W R/W 0 0 REGISTER TYPE RESET VALUE
TABLE 153: MICROPROCESSOR REGISTER #566 BIT DESCRIPTION
REGISTER ADDRESS 0X0F0AH BIT # CHANNEL_0 FUNCTION NAME REGISTER TYPE RESET VALUE
135
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 153: MICROPROCESSOR REGISTER #566 BIT DESCRIPTION
D7 D6-D0 Reserved B6S3_n B0S3_n Arbitrary Transmit Pulse Shape, Segment 3 The shape of each channel's transmitted pulse can be made independently user programmable by selecting "Arbitrary Pulse" mode. The arbitrary pulse is divided into eight time segments whose combined duration is equal to one period of MCLK. This 7 bit number represents the amplitude of the nth channel's arbitrary pulse during the third time segment. B6S3_nB0S3_n is in signed magnitude format with B6S3_n as the sign bit and B0S3_n as the least significant bit (LSB). R/W R/W
REV. P1.0.1
0 0
TABLE 154: MICROPROCESSOR REGISTER #567 BIT DESCRIPTION
REGISTER ADDRESS 0X0F0BH BIT # D7 D6-D0 CHANNEL_0 FUNCTION NAME Reserved B6S4_n B0S4_n Arbitrary Transmit Pulse Shape, Segment 4 The shape of each channel's transmitted pulse can be made independently user programmable by selecting "Arbitrary Pulse" mode. The arbitrary pulse is divided into eight time segments whose combined duration is equal to one period of MCLK. This 7 bit number represents the amplitude of the nth channel's arbitrary pulse during the fourth time segment. B6S4_nB0S4_n is in signed magnitude format with B6S4_n as the sign bit and B0S4_n as the least significant bit (LSB). R/W R/W 0 0 REGISTER TYPE RESET VALUE
TABLE 155: MICROPROCESSOR REGISTER #568 BIT DESCRIPTION
REGISTER ADDRESS 0X0F0CH BIT # D7 D6-D0 CHANNEL_0 FUNCTION NAME Reserved B6S5_n B0S5_n Arbitrary Transmit Pulse Shape, Segment 5 The shape of each channel's transmitted pulse can be made independently user programmable by selecting "Arbitrary Pulse" mode. The arbitrary pulse is divided into eight time segments whose combined duration is equal to one period of MCLK. This 7 bit number represents the amplitude of the nth channel's arbitrary pulse during the fifth time segment. B6S5_nB0S5_n is in signed magnitude format with B6S5_n as the sign bit and B0S5_n as the least significant bit (LSB). R/W R/W 0 0 REGISTER TYPE RESET VALUE
136
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 156: MICROPROCESSOR REGISTER #569 BIT DESCRIPTION
REGISTER ADDRESS 0X0F0DH BIT # D7 D6-D0
CHANNEL_0 FUNCTION NAME Reserved B6S6_n B0S6_n Arbitrary Transmit Pulse Shape, Segment 6 The shape of each channel's transmitted pulse can be made independently user programmable by selecting "Arbitrary Pulse" mode. The arbitrary pulse is divided into eight time segments whose combined duration is equal to one period of MCLK. This 7 bit number represents the amplitude of the nth channel's arbitrary pulse during the sixth time segment. B6S6_nB0S6_n is in signed magnitude format with B6S6_n as the sign bit and B0S6_n as the least significant bit (LSB).
REGISTER TYPE R/W R/W
RESET VALUE 0 0
TABLE 157: MICROPROCESSOR REGISTER #570 BIT DESCRIPTION
REGISTER ADDRESS 0X0F0EH BIT # D7 D6-D0 CHANNEL_0 FUNCTION NAME Reserved B6S7_n B0S7_n Arbitrary Transmit Pulse Shape, Segment 7 The shape of each channel's transmitted pulse can be made independently user programmable by selecting "Arbitrary Pulse" mode. The arbitrary pulse is divided into eight time segments whose combined duration is equal to one period of MCLK. This 7 bit number represents the amplitude of the nth channel's arbitrary pulse during the seventh time segment. B6S7_n-B0S7_n is in signed magnitude format with B6S7_n as the sign bit and B0S7_n as the least significant bit (LSB). R/W R/W 0 0 REGISTER TYPE RESET VALUE
TABLE 158: MICROPROCESSOR REGISTER #571 BIT DESCRIPTION
REGISTER ADDRESS 0X0F0FH BIT # CHANNEL_0 FUNCTION NAME REGISTER TYPE RESET VALUE
137
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 158: MICROPROCESSOR REGISTER #571 BIT DESCRIPTION
D7 D6-D0 Reserved B6S8_n B0S8_n Arbitrary Transmit Pulse Shape, Segment 8 The shape of each channel's transmitted pulse can be made independently user programmable by selecting "Arbitrary Pulse" mode. The arbitrary pulse is divided into eight time segments whose combined duration is equal to one period of MCLK. This 7 bit number represents the amplitude of the nth channel's arbitrary pulse during the eighth time segment. B6S8_nB0S8_n is in signed magnitude format with B6S8_n as the sign bit and B0S8_n as the least significant bit (LSB). R/W R/W
REV. P1.0.1
0 0
138
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 159: MICROPROCESSOR REGISTER #700 BIT DESCRIPTION - GLOBAL REGISTER 0
Global Control Registers
REGISTER ADDRESS 0X0FE0H BIT # D7 D6
NAME
FUNCTION
REGISTER TYPE R/W R/W
RESET VALUE 0 0
Reserved ATAOS
This Bit Is Not Used Automatic Transmit All Ones Upon RLOS: Writing a "1" to this bit enables the automatic transmission of All "Ones" data to the line for the channel that detects an RLOS condition. Writing a "0" disables this feature. This Bit Is Not Used This Bit Is Not Used This Bit Is Not Used This Bit Is Not Used Global Interrupt Enable: Writing a "1" to this bit globally enables interrupt generation for all channels. Writing a "0" disables interrupt generation. Software Reset P Registers: Writing a "1" to this bit longer than 10s initiates a device reset through the microprocessor interface. All internal circuits are placed in the reset state with this bit set to a "1" except the microprocessor register bits.
D5 D4 D3 D2 D1
Reserved Reserved Reserved Reserved GIE
R/W R/W R/W
0 0 0 0
R/W
0
D0
SRESET
R/W
0
139
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 160: MICROPROCESSOR REGISTER #701, BIT DESCRIPTION - GLOBAL REGISTER 1
REGISTER ADDRESS 0X0FE1H BIT # D7 D6 D5 D4 Reserved Reserved Guage1 Guage0 Wire Gauge Selector Bit 1: This bit together with bit D6 are used to select wire gauge size as shown in the table below. R/W R/W R/W
REV. P1.0.1
NAME
FUNCTION
REGISTER TYPE
RESET VALUE 0 0 0 0
GAUGE1 0 0 1 1
D3 D2 Reserved RXMUTE This Bit Is Not Used
GAUGE0 0 1 0 1
Wire Size 22 and 24 Gauge 22 Gauge 24 Gauge 26 Gauge
R/W R/W 0 0
Receive Output Mute: Writing a "1" to this bit, mutes receive outputs at the framer block to a "0" state for any channel that detects an RLOS condition.
NOTE: The receive clock is not muted.
D1 EXLOS Extended LOS: Writing a "1" to this bit extends the number of zeros at the receive input of each channel before RLOS is declared to 4096 bits. Writing a "0" reverts to the normal mode (175+75 bits for T1 and 32 bits for E1). In-Circuit-Testing: Writing a "1" to this bit configures all the output pins of the chip in high impedance mode for In-CircuitTesting. R/W 0
D0
ICT
R/W
0
TABLE 161: MICROPROCESSOR REGISTER #702, BIT DESCRIPTION - GLOBAL REGISTER 2
REGISTER ADDRESS 0X0FE2H BIT # D7 D6 D5-D0 Reserved Reserved Reserved This Bit Is Not Used This Bit Is Not Used This Bit Is Not Used R/W R/W R/W 0 0 0 REGISTER TYPE RESET VALUE
NAME
FUNCTION
140
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 162: MICROPROCESSOR REGISTER #703, BIT DESCRIPTION - GLOBAL REGISTER 3
REGISTER ADDRESS 0X0FE4H BIT # D7 D6
NAME
FUNCTION
REGISTER TYPE R/W
RESET VALUE 0 0
MCLKnT11 MCLKnT10
Master T1 Output Clock Reference These two bits are used to select the programmable output clock reference for T1MCLKnOUT. "00" = 1.544MHz "01" = 3.088MHz "10" = 6.176MHz "11" = 12.352MHz Master E1 Output Clock Reference These two bits are used to select the programmable output clock reference for E1MCLKnOUT. "00" = 2.048MHz "01" = 4.096MHz "10" = 8.192MHz "11" = 16.384MHz
D5 D4
MCLKnE11 MCLKnE10
R/W
0 0
D3 D2 D1 D0
Reserved Reserved Reserved Reserved
This Bit Is Not Used. This Bit Is Not Used. This Bit Is Not Used. This Bit Is Not Used.
R/W R/W R/W R/W
0 0 0 0
TABLE 163: MICROPROCESSOR REGISTER #704, BIT DESCRIPTION - GLOBAL REGISTER 4
REGISTER ADDRESS 0X0FE9H BIT # D7 D6 D5 Reserved Reserved Reserved This Bit Is Not Used. This Bit Is Not Used. This Bit Is Not Used. R/W R/W R/W 0 0 0 REGISTER TYPE RESET VALUE
NAME
FUNCTION
141
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 163: MICROPROCESSOR REGISTER #704, BIT DESCRIPTION - GLOBAL REGISTER 4
D4 D3 D2 D1 D0 Reserved CLKSEL3 CLKSEL2 CLKSEL1 CLKSEL0 This Bit Is Not Used. Clock Select Input CLKSEL[3:0] is used to select the input clock source to be used as the internal timing reference for MCLKIN. "0000" = 2.048MHz "0001" = 1.544MHz "0010" = 8kHz "0011" = 16kHz "0100" = 56kHz "0101" = 64kHz "0110" = 128kHz "0111" = 256kHz "1000" = 4.096MHz "1001" = 3.088MHz "1010" = 8.192MHz "1011" = 6.176MHz "1100" = 16.384MHz "1101" = 12.352MHz "1110" = 2.048MHz "1111" = 1.544MHz R/W R/W
REV. P1.0.1
0 0 0 0 0
142
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
3.6 THE INTERRUPT STRUCTURE WITHIN THE FRAMER The XRT86L30 Framer is equipped with a sophisticated Interrupt Servicing Structure. This Interrupt Structure includes an Interrupt Request output pin INT, numerous Interrupt Enable Registers and numerous Interrupt Status Registers. The Interrupt Servicing Structure, within the XRT86L30 Framer contains three levels of hierarchy: * The Framer Level * The Block Level * The Source Level. The Framer Interrupt Structure has been carefully designed to allow the user to quickly determine the exact source of this interrupt (with minimal latency) which will aid the mC/mP in determining the which interrupt service routine to call up in order to eliminate or properly respond to the condition(s) causing the interrupt. The XRT86L30 Framer comes equipped with registers to support the servicing of this wide array of potential "interrupt request" sources. Table 164 lists the possible conditions that can generate interrupts.
TABLE 164: LIST OF THE POSSIBLE CONDITIONS THAT CAN GENERATE INTERRUPTS, IN EACH FRAMER
INTERRUPT BLOCK Framer Level HDLC Controller Block INTERRUPTING CONDITION Loss of RxLineClk Signal* One Second Interrupt Transmit HDLC - Start of Transmission Receive HDLC - Start of Reception Transmit HDLC - End of Transmission Receive HDLC - End of Reception FCS Error Receipt of Abort Sequence Receipt of Idle Sequence Slip Buffer Full Slip Buffer Empty Slip Buffer - Slip Receipt of CAS Multi-frame Yellow Alarm Detection of Loss of Signal Condition Detection of Line Code Violation Change in Receive Loss of Framer Condition Change in Receive AIS Condition Receipt of FAS Frame Yellow Alarm Change in CAS Multi-Frame Alignment Change in National Bits* Change in CAS Signaling Bits Change in FAS Frame Alignment* Change in the "In Frame" Condition Detection of "Frame Mimicking Data" Detection of Sync (CRC-4/CRC-6) Errors Detection of Framing Bit Errors
Slip Buffer Block
Alarm & Error Block
T1/E1 Frame Block
General Flow of Interrupt Servicing When any of the conditions presented in Table 164 occur, (if their Interrupt is enabled), then the Framer generates an interrupt request to the mP/mC by asserting the active-low interrupt request output pin, INT. Shortly after the local mC/mP has detected the activated INT signal, it will enter into the appropriate user-supplied interrupt service routine. The first task for the mP/mC, while running this interrupt service routine, may be to isolate the source of the interrupt request down to the device level (e.g, the Framer IC), if multiple peripheral ICs exist in the user's system. However, once the interrupting peripheral device has been identified, the next task for the mP/mC is to determine exactly what feature of functional section within the device requested the interrupt. Determine the Framer(s) Requesting the Interrupt
143
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
If the interrupting device turns out to be the Framer, then the mP/mC must determine which of the four framer channels requested the interrupt. Hence, upon reaching this state, one of the very first things that the mP/mC must do within the user Framer interrupt service routine, is to perform a read of each of the Block Interrupt Status Registers within all of the Framer channels that have been enabled for Interrupt Generation via their respective Interrupt Control Registers. Table 165 lists the Address for the Block Interrupt Status Registers associated with each of the Framer channels within the Framer. TABLE 165: ADDRESS OF THE BLOCK INTERRUPT STATUS REGISTERS
FRAMER NUMBER 0 1 2 3 4 5 6 7 ADDRESS OF BLOCK INTERRUPT STATUS REGISTER 0x0B02 0x1B02 0x2B02 0x3B02 0x4B02 0x5B02 0x6B02 0x7B02
The bit-format of each of these Block Interrupt Status Registers is listed below.
144
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 166: BLOCK INTERRUPT STATUS REGISTER
REGISTER 321
BIT 7 Sa6 FUNCTION TYPE RO
BLOCK INTERRUPT STATUS REGISTER (BISR)
DEFAULT 0 Sa6 Interrupt Status
HEX ADDRESS: 0X0B00
DESCRIPTION-OPERATION
7-6
LBCODE
RO
0
Loopback Code Interrupt
5
RxClkLOS
RUR
0
RxClk Los Interrupt Status Indicates if Framer n has experienced a Loss of Recovered Clock interrupt since last read of this register. 0 = Loss of Recovered Clock interrupt has not occurred since last read of this register 1 = Loss of Recovered Clock interrupt has occurred since last read of this register. One Second Interrupt Status Indicates if the XRT86L30 has experienced a One Second interrupt since the last read of this register. 0 = No outstanding One Second interrupts awaiting service 1 = Outstanding One Second interrupt awaits service HDLC Block Interrupt Status Indicates if the HDLC block has an interrupt request awaiting service. 0 = No outstanding interrupt requests awaiting service 1 = HDLC Block has an interrupt request awaiting service. Interrupt Service routine should branch to and read Data LInk Status Register (address xA,06).
4
ONESEC
RUR
0
3
HDLC
RO
0
NOTE: This bit-field will be reset to 0 after the microprocessor has performed a read to the Data Link Status Register.
Slip Buffer Block Interrupt Status Indicates if the Slip Buffer block has any outstanding interrupt requests awaiting service. 0 = No outstanding interrupts awaiting service 1 = Slip Buffer block has an interrupt awaiting service. Interrupt Service routine should branch to and read Slip Buffer Interrupt Status register (address 0xXA,0x09.
2
SLIP
RO
0
NOTE: This bit-field will be reset to 0 after the microprocessor has performed a read of the Slip Buffer Interrupt Status Register.
Alarm & Error Block Interrupt Status Indicates if the Alarm & Error Block has any outstanding interrupts that are awaiting service. 0 = No outstanding interrupts awaiting service 1 = Alarm & Error Block has an interrupt awaiting service. Interrupt SerStatus Register (address xA,02)
1
ALARM
RO
0
NOTE: This bit-field will be reset to 0 after the microprocessor has performed a read of the Alarm & Error Interrupt Status register.
T1/E1 Framer Block Interrupt Status Indicates if an T1/E1 Frame Status interrupt request is awaiting service. 0 = No T1/E1 Frame Status interrupt is pending 1 = T1/E1 Framer Status interrupt is awaiting service.
0
T1/E1 FRAME
RO
0
For a given Framer, the Block Interrupt Status Register presents the "Interrupt Request" status of each "Interrupt Block" within the Framer. The purpose of the "Block Interrupt Status Register" is to help the mP/mC identify which "Interrupt Block(s) have requested the interrupt. Whichever bit(s) are asserted, in this register, identifies which block(s) have experienced an "interrupt generating" condition, as presented in Table 166. Once the
145
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
mP/mC has read this register, it can determine which "branch" within the interrupt service routine that it must follow; in order to properly service this interrupt. The Framer IC further supports the "Interrupt Block" Hierarchy by providing the "Block Interrupt Enable Register. The bit-format of this register is identical to that for the "Block Interrupt Status Register", and is presented below for the sake of completeness. TABLE 167: BLOCK INTERRUPT ENABLE REGISTER
REGISTER 322
BIT 7 6 FUNCTION SA6_ENB LBCODE_ENB RXCLKLOSS 5 R/W 0
BLOCK INTERRUPT ENABLE REGISTER (BIER)
TYPE R/W R/W DEFAULT 0 0 SA6 interrupt enable Loopback code interrupt enable RxLineClk Loss Interrupt Enable 0 = Disables interrupt 1 = Enables interrupt One Second Interrupt Enable 0 = Disables interrupt 1 = Enables Interrupt DESCRIPTION-OPERATION
HEX ADDRESS: 0X0B01
ONESEC_ENB 4 R/W 0
HDLC_ENB 3 R/W 0
HDLC Block Interrupt Enable 0 = Disables all HDLC Block interrupts 1 = Enables HDLC Block (for interrupt generation) at the block level Slip Buffer Block Interrupt Enable 0 = Disables all Slip Buffer Block Interrupts 1 = Enables Slip Buffer Block at the block level Alarm & Error Block Interrupt Enable 0 = Disables all Alarm & Error Block interrupts 1 = Enables Alarm & Error block at the block level T1/E1 Frame Block Enable 0 = Disables all Frame Block interrupts 1 = Enables the Frame Block at the block level
SLIP_ENB 2 R/W 0
ALARM_ENB 1 R/W 0
T1/E1FRAME_ENB 0 R/W 0
The Block Interrupt Enable Register permits the user to individually enable or disable the interrupt requesting capability of each of the "interrupt blocks" within the Framer. If a particular bit-field, within this register contains the value "0"; then the corresponding functional block has been disabled from generating any interrupt requests. The procedures for configuring, enabling and servicing interrupts for each of these hierarchical levels is discussed below. 3.6.1 Configuring the Interrupt System, at the Framer Level The XRT86L30 Framer IC permits the user to enable or disable each of the four Framers for interrupt generation. Further, the chip permits the user to make the following configuration selection. 1. Whether the "source-level" Interrupt Status bits are "Reset-upon-Read" or "Write-to-Clear". 2. Whether or not an "activated interrupt" is automatically cleared. 3.6.1.1 Enabling/Disabling the Framer for Interrupt Generation Each of the four Framers of the XRT86L30 Framer can be enabled or disabled for interrupt generation. This selection is made by writing the appropriate "0" or "1" to bit 0 (INTRUP_EN) of the "Interrupt Control Register" corresponding to that framer, (see Table 168.)
146
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 168: INTERRUPT CONTROL REGISTER
REGISTER 26
BIT 7-3 MODE FUNCTION Reserved TYPE -
INTERRUPT CONTROL REGISTER (ICR)
DEFAULT Reserved
HEX ADDRESS: 0X011A
DESCRIPTION-OPERATION
2
INT_WC_RUR
R/W
0
Interrupt Write-to-Clear or Reset-upon-Read Select Configures Interrupt Status bits to either RUR or Write-to-Clear 0=Interrupt Status bit RUR 1=Interrupt Status bit Write-to-Clear Interrupt Enable Auto Clear 0=Interrupt Enable bits are not cleared after status reading 1=Interrupt Enable bits are cleared after status reading Interrupt Enable for Framer_n Enables Framer n for Interrupt Generation. 0 = Disables corresponding framer block for Interrupt Generation 1 = Enables corresponding framer block for Interrupt Generation
1
ENBCLR
R/W
0
0
INTRUP_ENB
R/W
0
Setting this bit-field to "0" disables all interrupts within the Framer. Setting this bit-field to "1" enables the Framer for interrupt generation (at the Framer Level).
NOTE: It is important to note that setting this bit-field to "1" does not enable all of the interrupts within the Framer. A given interrupt must also be enabled at the block and source-level, before it is enabled for interrupt generation.
3.6.1.2 Configuring the "Interrupt Status Bits", within a given Framer to be "Reset-upon-Read" or "Write-to-Clear". The XRT86L30 Source-Level Interrupt Status Register bits can be configured to be either "Reset-upon-Read" or "Write-to-Clear". If the user configures the Interrupt Status Registers to be "Reset-upon-Read", then when the mP/mC is reading the interrupt status register, the following will happen. 1. The contents of the Source-Level Interrupt Status Register will automatically be reset to "0x00", following the read operation. 2. The Interrupt Request Output pin (INT) will automatically toggle false (or "high") upon reading the Interrupt Status Register containing the last activated interrupt status bit. If the user configures the Interrupt Status Registers to be "Write-to-Clear", then when the mP/mC is reading the interrupt status register, the following will happen. 1. The contents of the Source-Level Interrupt Status Register will not be cleared to "0x00", following the read operation. The mP/mC will have to write 0x00 to the interrupt status register in order to reset the contents of the register to 0x00. 2. Reading the Interrupt Status Register, which contains the activated bit(s) will not cause the "Interrupt Request Output" pin (INT) to toggle false. The Interrupt Request Output pin will not toggle false until the mP/mC has written 0x00 into this register. (Hence, the Interrupt Service Routine must include this write operation). The Interrupt Status Register (associated with a given framer) can be configured to be either "Reset-uponRead" or "Write-to-Clear" by writing the appropriate value into Bit 2, within the Interrupt Control Register as indicated in Table 168. Writing a "0" into this bit-field configures the Interrupt Status registers to be "Reset-upon-Read" (RUR). Conversely, writing a "1" into this bit-field configures the Interrupt Status registers to be "Write-to-Clear". 3.6.1.3 Automatic Reset of Interrupt Enable Bits Occasionally, the user's system (which includes the Framer IC), may experience a fault condition, such that a "Framer Interrupt Condition" will continuously exist. If this particular interrupt has been enabled (within the Framer), then the Framer will generate an interrupt request to the mP/mC. Afterwards, the mP/mC will attempt to service this interrupt by reading the appropriate Block-level and Source-Level Interrupt Status Register. Ad-
147
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
ditionally, the local mP/mC will attempt to perform some "system-related" tasks in order to try to resolve these conditions causing the interrupt. After the local mC/mP has attempted all of these things, the Framer IC will negate the INT output pin. However, because this system fault still remains, the condition causing the Framer to issue this interrupt also exists. Consequently, the Framer IC will generate another interrupt request, which forces the mP/mC to once again attempt to service this interrupt. This phenomenon quickly results in the local mP/ mC being "tied up" in a continuous cycle of executing this one interrupt service routine. Consequently, the mP/ mC (along with portions of the overall system) now becomes non-functional. In order to prevent this phenomenon from ever occurring, the Framer IC can be configured to automatically reset the "interrupt enable" bits, following their activation. This feature can be implemented by writing the appropriate value to bit 1 of the "Interrupt Control Register" as indicated in Table 168. Writing a "1" to this bit-field configures the Framer to reset a given interrupt following activation. Writing a "0" to this bit-field configures the Framer to leave the interrupt enabled, following its activation.
148
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
4.0 GENERAL DESCRIPTION AND INTERFACE The XRT86L30 supports multiple interfaces for various modes of operation. The purpose of this section is to present a general overview of the common interfaces and their connection diagrams. Each mode will be described in full detail in later sections of the datasheet.
NOTE: For a brief tutorial on Framing Formats, see Appendix A in the back of the datasheet.
4.1 PHYSICAL INTERFACE The Line Interface Unit generates/receives standard return-to-zero (RZ) signals to the line interface for T1/E1/ J1 twisted pair or E1 coaxial cable. The physical interface is optimized by placing the terminating impedance inside the LIU. This allows one bill of materials for all modes of operation reducing the number of external components necessary in system design. The transmitter outputs only require one DC blocking capacitor of 0.68F and a 1:2 step-up transformer. The receive path inputs only require one bypass capacitor of 0.1F connected to the center tap (CT) of the transformer and a 1:1 transformer. The receive CT bypass capacitor is required for Long Haul Applications, and recommended for Short Haul Applications. Figure 7 shows the typical connection diagram for the LIU transmitters. Figure 8 shows a typical connection diagram for the LIU receivers. FIGURE 7. LIU TRANSMIT CONNECTION DIAGRAM USING INTERNAL TERMINATION
XRT86L30 LIU TTIP Transmitter Output C=0.68uF TRING Line Interface T1/E1/J1 1:2
One Bill of Materials Internal Impedance
FIGURE 8. LIU RECEIVE CONNECTION DIAGRAM USING INTERNAL TERMINATION
XRT86L30 LIU Receiver Input
RTIP
1:1 Line Interface T1/E1/J1
RRING 0.1F
Internal Impedance
One Bill of Materials
149
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
4.2 R3 TECHNOLOGY (RELAYLESS / RECONFIGURABLE / REDUNDANCY)
REV. P1.0.1
Redundancy is used to introduce reliability and protection into network card design. The redundant card in many cases is an exact replicate of the primary card, such that when a failure occurs the network processor can automatically switch to the backup card. EXAR's R3 technology has re-defined DS-1/E1/J1 physical interface design for 1:1 and 1+1 redundancy applications. Without relays and one Bill of Materials, EXAR offers multi-port, integrated Framer/LIU solutions to assist high density aggregate applications and framing requirements with reliability. The following section can be used as a reference for implementing R 3 Technology with EXAR's world leading Framer/LIU combo. 4.2.1 Line Card Redundancy Telecommunication system design requires signal integrity and reliability. When a T1/E1 primary line card has a failure, it must be swapped with a backup line card while maintaining connectivity to a backplane without losing data. System designers can achieve this by implementing common redundancy schemes with the XRT86L30 Framer/LIU. EXAR offers features that are tailored to redundancy applications while reducing the number of components and providing system designers with solid reference designs. 4.2.2 Typical Redundancy Schemes
* 1:1 One backup card for every primary card (Facility Protection) * 1+1 One backup card for every primary card (Line Protection) * *N+1 One backup card for N primary cards
4.2.3 1:1 and 1+1 Redundancy Without Relays The 1:1 facility protection and 1+1 line protection have one backup card for every primary card. When using 1:1 or 1+1 redundancy, the backup card has its transmitters tri-stated and its receivers in high impedance. This eliminates the need for external relays and provides one bill of materials for all interface modes of operation. For 1+1 line protection, the receiver inputs on the backup card have the ability to monitor the line for bit errors while in high impedance. The transmit and receive sections of the physical interface are described separately. 4.2.4 Transmit Interface with 1:1 and 1+1 Redundancy The transmitters on the backup card should be tri-stated. Select the appropriate impedance for the desired mode of operation, T1/E1/J1. A 0.68uF capacitor is used in series with TTIP for blocking DC bias. See Figure 9. for a simplified block diagram of the transmit section for a 1:1 and 1+1 redundancy. FIGURE 9. SIMPLIFIED BLOCK DIAGRAM OF THE TRANSMIT INTERFACE FOR 1:1 AND 1+1 REDUNDANCY
Backplane Interface
Primary Card
XRT86L30 1:2 Tx 0.68uF T1/E1 Line
Internal Impedence
Backup Card
XRT86L30 1:2 Tx 0.68uF
Internal Impedence
150
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
4.2.5
Receive Interface with 1:1 and 1+1 Redundancy
The receivers on the backup card should be programmed for "High" impedance. Since there is no external resistor in the circuit, the receivers on the backup card will not load down the line interface. This key design feature eliminates the need for relays and provides one bill of materials for all interface modes of operation. Select the impedance for the desired mode of operation, T1/E1/J1. To swap the primary card, set the backup card to internal impedance, then the primary card to "High" impedance. See Figure 10. for a simplified block diagram of the receive section for a 1:1 redundancy scheme. FIGURE 10. SIMPLIFIED BLOCK DIAGRAM OF THE RECEIVE INTERFACE FOR 1:1 AND 1+1 REDUNDANCY
Backplane Interface
Primary Card
XRT86L30 1:1 Rx T1/E1 Line
Internal Impedence
Backup Card
XRT86L30 1:1 Rx
"High" Impedence
151
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
4.3 Power Failure Protection
REV. P1.0.1
For 1:1 or 1+1 line card redundancy in T1/E1 applications, power failure could cause a line card to change the characteristics of the line impedance, causing a degradation in system performance. The XRT86L30 was designed to ensure reliability during power failures. The LIU has patented high impedance circuits that allow the receiver inputs and the transmitter outputs to be in "High" impedance when the LIU experiences a power failure or when the LIU is powered off.
NOTE: For power failure protection, a transformer must be used to couple to the line interface. See the TAN-56 application note for more details.
4.4
Overvoltage and Overcurrent Protection
Physical layer devices such as LIUs that interface to telecommunications lines are exposed to overvoltage transients posed by environmental threats. An Overvoltage transient is a pulse of energy concentrated over a small period of time, usually under a few milliseconds. These pulses are random and exceed the operating conditions of CMOS transceiver ICs. Electronic equipment connecting to data lines are susceptible to many forms of overvoltage transients such as lightning, AC power faults and electrostatic discharge (ESD). There are three important standards when designing a telecommunications system to withstand overvoltage transients.
* UL1950 and FCC Part 68 * Telcordia (Bellcore) GR-1089 * ITU-T K.20, K.21 and K.41
NOTE: For a reference design and performance, see the TAN-54 application note for more details.
4.5
Non-Intrusive Monitoring
In non-intrusive monitoring applications, the transmitters are shut off by setting TxON "Low". The receivers must be actively receiving data without interfering with the line impedance. The XRT86L30's internal termination ensures that the line termination meets T1/E1 specifications for 75, 100 or 120 while monitoring the data stream. System integrity is maintained by placing the non-intrusive receiver in "High" impedance, equivalent to that of a 1+1 redundancy application. A simplified block diagram of non-intrusive monitoring is shown in Figure 11. FIGURE 11. SIMPLIFIED BLOCK DIAGRAM OF A NON-INTRUSIVE MONITORING APPLICATION
XRT86L30 Line Card Transceiver
Data Traffic Node
XRT86L30 Non-Intrusive Receiver
152
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
4.6 T1/E1 SERIAL PCM INTERFACE The most common mode is the standard serial PCM interface. Within this mode, only the serial data, serial clock, frame pulse and multi-frame pulse are required for both the transmit and receive paths. For the transmit path, only TxSER is a dedicated input to the device. All other signals to the transmit path in Figure 12 can be programmed as either input or output. For the receive path, only RxSER and RxMSYNC are dedicated outputs from the device. All other signals in the receive path in Figure 13 can be programmed as either input or output. FIGURE 12. TRANSMIT T1/E1 SERIAL PCM INTERFACE
T1
TxSER
F
TS1
TS2
TS24
TxSERclk (bi-directional) TxSYNC (bi-directional) TxMSYNC (bi-directional) N: SF : T1DM : SLC-96 : ESF : TxMSYNC = 4 * (TxSYNC) TxMSYNC = 12 * (TxSYNC) TxMSYNC = 12 * (TxSYNC) TxMSYNC = 12 * (TxSYNC) TxMSYNC = 24 * (TxSYNC)
E1
TxSER TxSERclk (bi-directional)
TS1
TS2
TS32
TxSYNC (bi-directional) TxMSYNC (bi-directional)
TxMSYNC = 16 * (TxSYNC)
FIGURE 13. RECEIVE T1/E1 SERIAL PCM INTERFACE
T1
RxSER
F
TS1
TS2
TS24
RxSERcl k (bi-directional) RxSYNC (bi-directional) RxCRCSYNC N: SF : T1DM : SLC-96 : ESF : RxCRCSYNC = 4 * (RxSYNC) RxCRCSYNC = 12 * (RxSYNC) RxCRCSYNC = 12 * (RxSYNC) RxCRCSYNC = 12 * (RxSYNC) RxCRCSYNC = 24 * (RxSYNC)
E1
RxSER RxSERcl k (bi-directional)
TS1
TS2
TS32
RxSYNC (bi-directional) RxCASYNC RxCASYNC = 16 * (RxSYNC)
153
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
4.7 T1/E1 FRACTIONAL INTERFACE The individual time slots can be enabled/disabled to carry fractional DS-0 data. The purpose of this interface is to enable one or more time slots in the PCM data (TxSER) to be replaced with the fractional DS-0 payload. If this mode is selected, the dedicated hardware pin TxCHN1/T1FR is used to input the fractional DS-0 data within the time slots that are enabled. The dedicated hardware pin RxCHN1/R1FR is used to output the fractional DS-0 data within the time slots that are enabled. Figure 14 is a simplified diagram of the Fractional Interface. FIGURE 14. T1 FRACTIONAL INTERFACE
TxSER
F
PCM TS[0-(N-1)]
T1 Fractional Data
PCM TS[(M+1)-23]
TxCHN1/T1FR TxSERclk TxSYNC TxMSYNC
TSN - TSM
154
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
4.8 T1/E1 TIME SLOT SUBSTITUTION AND CONTROL The time slots within PCM data are reserved for carrying individual DS-0's. However, the framer block (transmit or receive paths) can substitute the payload with various code definitions. Each time slot can be independently programmed to carry normal PCM data or a variety of user codes. In E1 mode, the user can substitute the transmit time slots 0 and 16, although signaling and Frame Sync cannot be maintained. The following options for time slot substitution are available: * Unchanged * Invert all bits * Invert even bits * Invert odd bits * Programmable User Code * Busy 0xFF * Vacant 0xD5 * Busy TS, Busy 00 * A-Law, -Law * Invert the MSB bit * Invert all bits except the MSB bit * PRBS * D/E Channel (or Fractional Input) FIGURE 15. T1/E1 TIME SLOT SUBSTITUTION AND CONTROL
TSn - TSn+m TxSER TxSERclk TxSYNC TxMSYNC F
PCM Data
Substitution
PCM Data
155
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
4.9 ROBBED BIT SIGNALING/CAS SIGNALING Signaling is used to convey status information relative to the individual DS-0's. If a particular DS-0 is On Hook, Off Hook, etc. this information is carried within the robbed bits in T1 (SF/ESF/SLC-96) or the sixteenth time slot in E1. On the transmit path, the Signaling information can be inserted through the PCM data, internal registers, or a dedicated external Signaling Bus by programming the appropriate registers. On the receive path, the signaling information is extracted (if enabled) to the internal registers and the external signaling bus in addition to being embedded within the PCM data. If the user wishes to substitute the ABCD values, the substitution only occurs in the PCM data. Once substituted, the internal registers and the external signaling bus will not be affected. Figure 16 is a simplified block diagram showing the Signaling Interface. Figure 17 is a timing diagram showing how to insert the ABCD values for each time slot in ESF / CAS. Figure 18 is a timing diagram showing how to insert the AB values for SF / SLC-96 or 4-code signaling in ESF / CAS. FIGURE 16. ROBBED BIT SIGNALING / CAS SIGNALING
TSCR Internal Reg's TxCHN0/ TxSIG
RBS/CAS Transmit Direction PCM Data Tx LIU Physical Interface Signaling Substitution Receive Direction
TxSER
RxSER
PCM Data
Rx LIU
RxCHN0/ RxSIG
Signaling Extraction
RSAR Internal Reg's
FIGURE 17. ESF / CAS EXTERNAL SIGNALING BUS
TxSERclk
TxSER
F
TS 1
TS 2
TS 3
TxCHN0/TxSIG
A
B
C
D
A
B
C
D
A
B
C
D
TxSYNC
TxMSYNC
156
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
FIGURE 18. SF / SLC-96 OR 4-CODE SIGNALING IN ESF / CAS EXTERNAL SIGNALING BUS
TxSERclk
TxSER
F
TS 1
TS 2
TS 3
TxCHN0/TxSIG
A
B
A
B
A
B
TxSYNC
TxMSYNC
157
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
4.10 OVERHEAD INTERFACE The Overhead interface provides an option for inserting the datalink bits into the transmit PCM data or extracting the datalink bits from the receive PCM data. By default, the datalink information is processed to and from the PCM data directly. On the transmit path, the overhead clock is automatically provided as a clock reference to externally time the datalink bits. The user should provide data on the rising edge of the TxOHclk so that the framer can sample the datalink bits on the falling edge. On the receive path, the datalink bits are updated on the rising edge of the RxOHclk output pin. In T1 ESF mode, a datalink bit occurs every other frame. Therefore, the default overhead interface is operating at 4kbps. In E1 mode, the datalink bits are located in the first time slot of each Non-FAS frame. Figure 19 is a simplified block diagram of the Overhead Interface. Figure 20 is a simplified diagram for the T1 external overhead datalink bus. Figure 21 is a simplified diagram for the E1 external overhead datalink bus. FIGURE 19. T1/E1 OVERHEAD INTERFACE
TxOH TxOHclk
Datalink Bits Transmit Direction PCM Data Tx LIU Physical Interface
TxSER
Receive Direction RxSER PCM Data Rx LIU
RxOH RxOHclk
Datalink Bits
FIGURE 20. T1 EXTERNAL OVERHEAD DATALINK BUS
TxSYNC TxOHclk (4kHz) TxOH
Frame1
Frame2
Frame3
Frame4
Frame5
Frame6
Datalink Bit
Datalink Bit
Datalink Bit
158
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
FIGURE 21. E1 OVERHEAD EXTERNAL DATALINK BUS
TxSYNC
Non-FAS Frame
FAS Frame
TxSER
Si
1
A Sa4 Sa5 Sa6 Sa7 Sa8
TxOHclk If Sa4, Sa7, and Sa8 are Selected
TxOH
Sa4
Sa7 Sa8
4.11 FRAMER BYPASS MODE The framer bypass mode allows the XRT86L30 to be used as a stand alone Line Interface Unit. In this mode, a few of the backplane interface signals multiplex into the digital Input/output signals to and from the LIU block. Figure 22 shows a simplified block diagram of the framer bypass mode. FIGURE 22. SIMPLIFIED BLOCK DIAGRAM OF THE FRAMER BYPASS MODE
TCLK=TxSERCLK TPOS=TxSER TNEG=TxSYNC
Tx Serial Data In
2-Frame Slip Buffer Elastic Store
Tx Framer
Tx LIU Interface
RCLK=RxSERCLK RPOS=RxSER RNEG=RxSYNC
Rx Serial Data Out
2-Frame Slip Buffer Elastic Store
Rx Framer
Rx LIU Interface
159
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
4.12 HIGH-SPEED NON-MULTIPLEXED INTERFACE The speed of transferring data through a back plane interface in a non-multiplexed manner typically operates at 1.544Mbps, 2.048Mbps, 4.096Mbps, or 8.192Mbps. For 12.352Mbps and 16.384Mbps, see the High-Speed Multiplexed Section. The T1/E1 carrier signal out to or in from the line interface is always 1.544MHz and 2.048MHz respectively. However, the back plane interface may be synchronous to a "Higher" speed clock. For T1, as shown in Figure 23, is mapped into an E1 frame. Therefore, every fourth time slot contains non-valid data. For E1, as shown in Figure 24, is simply synchronized to the "Higher" 8.192MHz clock signal supplied to the TxMSYNC input pin. FIGURE 23. T1 HIGH-SPEED NON-MULTIPLEXED INTERFACE
Non-Multiplexed High Speed Interface (2.048MHz/4.096MHz/8.192MHz)
TxMSYNC 2.048MHz
TxSER TxSERCLK (1.544MHz) TxSYNC
F
Don't Care
TS 1
TS 2
TS 3
Don't Care
TS 4
TS 5
FIGURE 24. E1 HIGH-SPEED NON-MULTIPLEXED INTERFACE
Non-Multiplexed High Speed Interface (2.048MHz/4.096MHz/8.192MHz)
TxMSYNC (8.192MHz)
TxSER TxSERCLK (2.048MHz) TxSYNC
TS 1
TS 2
TS 3
160
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
4.13 HIGH-SPEED MULTIPLEXED INTERFACE In addition to the non-multiplexed mode, the framer can interface through the backplane in a high-speed multiplexed application, either through a bit-muxed or byte-muxed (in HMVIP or H.100) manner. In this mode, the chip is divided into two multiplexed blocks, four channels per block. For T1, the high speed multiplexed modes are 12.352Mbps (bit-muxed, TxSYNC is "High" during the F-bit), 16.384Mbps (bit-muxed, TxSYNC is "High" during the F-bit), 16.384Mbps (HMVIP: byte-muxed, TxSYNC is "High" during the last 2-bits of the previous frame and the first 2-bits of the current frame), or 16.384Mbps (H.100: byte-muxed, TxSYNC is "High" during the last bit of the previous frame and the first bit in the current frame). For E1 mode, the only mode that is not supported is the 12.352Mbps. The only other difference is that the F-bit (for T1 mode) becomes the first bit of the E1 frame. Figure 25 is a simplified block diagram of transmit bit-muxed application. Figure 26 is a simplified block diagram of receive bit-muxed application. Although the data is only applied to channel 4 or channel 0, the TxSERCLK is necessary for all channels so that the transmit line rate is always equal to the T1/E1 carrier rate. FIGURE 25. TRANSMIT HIGH-SPEED BIT MULTIPLEXED BLOCK DIAGRAM
TxSYNC0 TxMSYNC0 (16.384MHz)
Bit Interleaved Multiplexed Mode 0b2 0b1 0b0 TTIP/TRing0
1b2 1b1 1b0 TxSER0 3b2 3b2 2b2 2b2 1b2 1b2 0b2 0b2 3b1 3b1 2b1 2b1 1b1 1b1 0b1 0b1 3b0 3b0 2b0 2b0 1b0 1b0 0b0 0b0 TxSERCLK0 (2.048MHz) 3b2 3b1 3b0 TxSERCLK1 (2.048MHz) TxSERCLK2 (2.048MHz) TxSERCLK3 (2.048MHz) DMUX 2b2 2b1 2b0
TTIP/TRing1
TTIP/TRing2
TTIP/TRing3
FIGURE 26. RECEIVE HIGH-SPEED BIT MULTIPLEXED BLOCK DIAGRAM
RxSYNC0 RxSERCLK0 (16.384MHz)
Bit Interleaved Multiplexed Mode 0b0 0b1 0b2 RTIP/RRing0
1b0 1b1 1b2 RxSER0 0b0 0 1b0 0 2b0 0 3b0 0 0b1 0 1b1 0 2b1 0 3b1 0 0b2 0 1b2 0 2b2 0 3b2 0 RZ Data RxLineClk0 (2.048MHz) 3b0 3b1 3b2 RxLineClk1 (2.048MHz) RxLineClk2 (2.048MHz) RxLineClk3 (2.048MHz) MUX 2b0 2b1 2b2
RTIP/RRing1
RTIP/RRing2
RTIP/RRing3
161
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
5.0 LOOPBACK MODES OF OPERATION 5.1 LIU Physical Interface Loopback Diagnostics
REV. P1.0.1
The XRT86L30 supports several loopback modes for diagnostic testing. The following section describes the local analog loopback, remote loopback, digital loopback, and dual loopback modes. The LIU physical interface loopback modes are independent from the Framer loopback modes. Therefore, it is possible to configure multiple loopback modes creating tremendous flexibility within the looped diagnostic features. 5.1.1 Local Analog Loopback With local analog loopback activated, the transmit output data at TTIP/TRING is internally looped back to the analog inputs at RTIP/RRING. External inputs at RTIP/RRING are ignored while valid transmit output data continues to be sent to the line. A simplified block diagram of local analog loopback is shown in Figure 27. FIGURE 27. SIMPLIFIED BLOCK DIAGRAM OF LOCAL ANALOG LOOPBACK
NLC/PRBS/QRSS TCLK TPOS TNEG Timing Control
TAOS
Encoder
JA
Tx
TTIP TRING
RCLK RPOS RNEG
Decoder
JA
Data and Clock Recovery
Rx
RTIP RRING
NOTE: The transmit diagnostic features such as TAOS, NLC generation, and QRSS take priority over the transmit input data at TCLK/TPOS/TNEG.
5.1.2
Remote Loopback
With remote loopback activated, the receive input data at RTIP/RRING is internally looped back to the transmit output data at TTIP/TRING. The remote loopback includes the Receive JA (if enabled). The transmit input data at TCLK/TPOS/TNEG are ignored while valid receive output data continues to be sent to the system. A simplified block diagram of remote loopback is shown in Figure 28. FIGURE 28. SIMPLIFIED BLOCK DIAGRAM OF REMOTE LOOPBACK
NLC/PRBS/QRSS TCLK TPOS TNEG Timing Control
TAOS TTIP TRING
Encoder
JA
Tx
RCLK RPOS RNEG
Decoder
JA
Data and Clock Recovery
Rx
RTIP RRING
162
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
Digital Loopback
5.1.3
With digital loopback activated, the transmit input data at TCLK/TPOS/TNEG is looped back to the receive output data at RCLK/RPOS/RNEG. The digital loopback mode includes the Transmit JA (if enabled). The receive input data at RTIP/RRING is ignored while valid transmit output data continues to be sent to the line. A simplified block diagram of digital loopback is shown in Figure 29. FIGURE 29. SIMPLIFIED BLOCK DIAGRAM OF DIGITAL LOOPBACK
NLC/PRBS/QRSS TCLK TPOS TNEG Timing Control
TAOS
Encoder
JA
Tx
TTIP TRING
RCLK RPOS RNEG
Decoder
JA
Data and Clock Recovery
Rx
RTIP RRING
5.1.4
Dual Loopback
With dual loopback activated, the remote loopback is combined with the digital loopback. A simplified block diagram of dual loopback is shown in Figure 30. FIGURE 30. SIMPLIFIED BLOCK DIAGRAM OF DUAL LOOPBACK
NLC/PRBS/QRSS TCLK TPOS TNEG Timing Control
TAOS
Encoder
JA
Tx
TTIP TRING
RCLK RPOS RNEG
Decoder
JA
Data and Clock Recovery
Rx
RTIP RRING
5.1.5
Framer Remote Line Loopback
The Framer Remote Line Loopback is almost identical to the LIU physical interface Remote Loopback. The digital data enters the framer interface, however does not enter the framing blocks. The main difference between the Remote loopback and the Framer Remote Line loopback is that the receive digital data from the LIU is allowed to pass through the LIU Decoder/Encoder circuitry before returning to the line interface. A simplified block diagram of framer remote line loopback is shown in Figure 31. FIGURE 31. SIMPLIFIED BLOCK DIAGRAM OF THE FRAMER REMOTE LINE LOOPBACK
NLC/PRBS/QRSS Framer Tx Timing Control
TAOS TTIP TRING
Encoder
JA
Tx
Framer Rx
Decoder
JA
Data and Clock Recovery
Rx
RTIP RRING
163
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
5.1.6 Framer Payload Loopback
REV. P1.0.1
With framer payload loopback activated, the raw data within the receive time slots are looped back to the transmit framer block where the data is re-framed according to the transmit timing. A simplified block diagram of framer payload loopback is shown in Figure 32. FIGURE 32. SIMPLIFIED BLOCK DIAGRAM OF THE FRAMER LOCAL LOOPBACK
Tx Serial Data In ST-BUS
Tx Serial Clock
2-Frame Slip Buffer Elastic Store PLB
Tx Framer
Tx LIU Interface
Rx Serial Data Out
Rx Serial Clock
2-Frame Slip Buffer Elastic Store
Rx Framer
Rx LIU Interface
5.1.7
Framer Local Loopback
With framer local loopback activated, the transmit PCM input data is looped back to the receive PCM output data. The receive input data at RTIP/RRING is ignored while an All Ones Signal is transmitted out to the line interface. A simplified block diagram of framer remote line loopback is shown in Figure 33. FIGURE 33. SIMPLIFIED BLOCK DIAGRAM OF THE FRAMER LOCAL LOOPBACK
Tx Serial Data In ST-BUS
Tx Serial Clock
2-Frame Slip Buffer Elastic Store
Tx Framer
Tx LIU Interface
LLB Rx Serial Data Out 2-Frame Slip Buffer Elastic Store Rx Framer Rx LIU Interface
Rx Serial Clock
164
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
6.0 HDLC CONTROLLERS AND LAPD MESSAGES The purpose of the HDLC controllers is to allow messages to be stored for transport in the outbound transmit framer block or extracted from the receive framer block through the LAPD interface. The Framer has 3 independent HDLC controllers. Each HDLC controller has two 96-Byte buffers for Transmit and two 96-Byte buffers for Receive. The buffers are used to insert messages into the out going data stream for Transmit or to extract messages from the incoming data stream from the Receive path. Total, there are twelve 96-Byte buffers per channel. This allows multiple HDLC messages to be transported to and from EXAR's framing device. FIGURE 34. HDLC CONTROLLERS
Channel N
Buffer 0 Transmit Receive 96-Bytes 96-Bytes
Buffer 1 96-Bytes HDLC1 96-Bytes
Buffer 0 Transmit Receive 96-Bytes 96-Bytes
Buffer 1 96-Bytes HDLC2 96-Bytes
Buffer 0 Transmit Receive 96-Bytes 96-Bytes
Buffer 1 96-Bytes HDLC3 96-Bytes
6.1 PROGRAMMING SEQUENCE FOR SENDING LESS THAN 96-BYTE MESSAGES Once the data link source and the type of message has been chosen, the following programming sequence can be followed to send (in this example) a 15-bye LAPD message.
NOTE: To send more than 96-Bytes, the programming sequence is slightly modified, which is described in the next section. 1. Read the Transmit Data Link Byte Count Register to determine which buffer is available.
2. Enable TxSOT in the Data Link Interrupt Enable Register. 3. Write 0x0F into the transmit byte count register (assuming buffer 0 was available). 4. Write the 15-byte message contents into register 0x0600 (automatically incremented). 5. Enable the LAPD transmission by writing to register 0x0113. 6. Once TxEOT occurs, the message has been transmitted. 6.2 PROGRAMMING SEQUENCE FOR SENDING LARGE MESSAGES 1. Read the Transmit Data Link Byte Count Register to determine which buffer is available. 2. Enable TxSOT in the Data Link Interrupt Enable Register. 3. Write 0x60 into the transmit byte count register (assuming buffer 0 was available). 4. Write the first 96-bytes into register 0x0600 (buffer 0, automatically incremented). 5. Enable the LAPD transmission by writing to register 0x0113. 6. Wait for the TxSOT before writing the next 96-bytes. 7. Re-initiate the TxSOT interrupt enable. 8. Write 0xE0 into the transmit byte count register (buffer 1). 9. Write the next 96-bytes into 0x0700 (buffer 1, automatically incremented). 10. Enable the LAPD transmission by writing to register 0x0113. 11. Wait for the TxSOT before writing the next 96-bytes. 12. Continue until the entire message is sent. 6.3 PROGRAMMING SEQUENCE FOR RECEIVING LAPD MESSAGES
165
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
The XRT86L30 can extract data link information from incoming DS1 frames from either the datalink bits themselves or the D/E time slots within the PCM input data. To extract a LAPD message, the following programming sequence can be used as a reference. 1. Enable RxEOT in the Data Link Interrupt Enable Register. 2. Wait for the RxEOT interrupt to occur. 3. Once RxEOT occurs, read the Receive Data Link Byte Count Register to determine which buffer the data is
extracted to and how many bytes are contained within the message.
4. Read the exact amount of bytes from the proper buffer. If buffer 0, read 0x0600. If buffer 1, read 0x0700. These
two registers are automatically incremented.
6.4 SS7 (SIGNALING SYSTEM NUMBER 7) FOR ESF IN DS1 ONLY To support SS7 specifications while receiving LAPD messages, EXAR's Framer will generate an interrupt (if SS7 is enabled) once the HDLC controllers have received more than 276 bytes within two flag sequences (0x7E) of a LAPD message. Each HDLC controller supports SS7. For example: To enable SS7 for all HDLC controllers, registers 0x0B11 (LAPD1), 0x0B19 (LAPD2), 0x0B29 (LAPD3) must be set to 0x01.
166
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
6.5 DS1/E1 DATALINK TRANSMISSION USING THE HDLC CONTROLLERS The transmit framer block can insert data link information to outbound DS1/E1 frames. The data link information can be inserted from the following sources. * Transmit Overhead Input Interface (TxOH) * Transmit HDLC1 Controller * Transmit Serial Input Interface (TxSER)
NOTE: HDLC1 is the dedicated controller for transmission of LAPD messages through the datalink bits. If the datalink bits are not used for LAPD messages, then HDLC1 can be used through the D/E time slots as with HDLC2 and HDLC3.
The Transmit Data Link Source Select bits within the Transmit Data Link Select Register (TSDLSR) determine the source for the data link bits in ESF, SLC(R)96, or T1DM for DS1 and CRC multi frame for E1. Each Transmit HDLC Controller contains four major functional modules. * Bit-Oriented Signaling Processor * LAPD Controller * SLC(R)96 Data Link Controller * Automatic Performance Report (APR) Generation 6.6 TRANSMIT BOS (BIT ORIENTED SIGNALING) PROCESSOR The Transmit BOS Processor handles transmission of BOS messages through the data link channel. The processor can be set for a specific amount of repetitions a certain BOS message will be transmitted, or it may be placed in an infinite loop. The processor can also insert a BOS IDLE flag sequence and/or an ABORT sequence to be transmitted on the data link channel. 6.6.1 Description of BOS Bit-Oriented Signaling messages are a 16-bit pattern of which a 6-bit message is embedded as shown in the following table.
BOS MESSAGE FORMAT 0 D5 D4 D3 D2 D1 D0 0 1 1 1 1 1 1 1 1
Where D5 is the MSB and D0 is the LSB. The rightmost "1" is transmitted first. BOS is classified into the following two groups. * Priority Codeword Message * Command and Response Information 6.6.2 Priority Codeword Message A Priority Codeword Message is preemptive and has the highest priority among all data link information. A Priority Codeword indicates a condition that is affecting the quality of service and thus shall be transmitted until the condition no longer exists. The duration of transmission should not be less than one second. A priority codeword may be interrupted by software for 100 milliseconds to send maintenance commands with a minimum interval of one second between interruptions. Yellow alarm (00000000 11111111) is the only priority message defined in industry standards. 6.6.3 Command and Response Information Command and Response Information is transmitted to perform various functions. The BOS Processor can send a command and response by transmitting a minimum of 10 repetitions of the appropriate codeword pattern. A Command and response data transmission initiates action at the remote end, while the remote end will respond by sending Bit-Oriented response message to acknowledge the received commands. The activation and deactivation of line remote loop-back and local payload loop-back functions are of this type.
167
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
6.7 TRANSMIT MOS (MESSAGE ORIENTED SIGNALING) PROCESSOR The Transmit LAPD controller implements the Message-Oriented protocol based on ITU Recommendation Q.921 Link Access Procedures on the D-channel. It provides the following functions. * Zero stuffing * T1/E1 transmitter interface * Transmit message buffer access * Frame check sequence generation * IDLE flag insertion * ABORT sequence generation Two 96-byte buffers in shared memory are allocated for each LAPD to reduce the frequency of microprocessor interrupts and alleviate the response time requirement for a microprocessor to handle each interrupt. There are no restrictions on the length of the message. However the 96-byte buffer is deep enough to hold one entire LAPD path or test signal identification message. 6.7.1 Discussion of MOS Message-Oriented signals sent by the transmit LAPD Controller are messages conforming to ITU Recommendation Q.921 LAPD protocol. There are two types of Message-Oriented signals. One is a periodic performance report generated by the source or sink T1/E1 terminals as defined by ANSI T1.403. The other is a path or test signal identification message that may be optionally generated by a terminal or intermediate equipment on a T1/E1 circuit. The message structures of the performance report and path or test signal identification message are shown in Figure 35 for format A and format B respectively. FIGURE 35. LAPD FRAME STRUCTURE
6.7.2
Periodic Performance Report
168
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
The ANSI T1.403 standard requires that the status of the transmission quality be reported in one-second intervals. The one-second timing may be derived from the DS1 signal or from a separate equally accurate (32ppm) source. The phase of the one-second periods does not depend on the time of occurrence of any error event. A total of four seconds of information is transmitted so that recovery operations may be initiated in case an error corrupts a message. Counts of events shall be accumulated in each contiguous one-second interval. At the end of each one-second interval, a modulo-4 counter shall be incremented, and the appropriate performance bits shall be set in bytes 5 and 6 in Format A. These octets and the octets that carry the performance bits of the preceding three one-second intervals form the periodic performance report. The periodic performance report is made up of 14 bytes of data. Bytes 1 to 4, 13, and 14 are the message header and bytes 5 to 12 contain data regarding the four most-recent one-second intervals. The periodic performance report message uses the SAPI/TEI value of 0x14. 6.7.3 Transmission-Error Event Occurrences of transmission-error events indicate the quality of transmission. The occurrences that shall be detected and reported are: * CRC Error Event: A CRC-6 error event is the occurrence of a received CRC code that is not identical to the corresponding locally calculated code. * Severely Errored Framing Event: A severely-errored-framing event is the occurrence of two or more framingbit-pattern errors within a 3-ms period. Contiguous 3-ms intervals shall be examined. The 3-ms period may coincide with the ESF. The severely-errored-framing event, while similar in form to criteria for declaring a terminal has lost framing, is only designed as a performance indicator; existing terminal out-of-frame criteria will continue to serve as the basis for terminal alarms. * Frame-Synchronization-Bit Error Event: A frame-synchronization-bit-error event is the occurrence of a received framing-bit-pattern not meeting the severely-errored-framing event criteria. * Line-Code Violation event: A line-code violation event is a bipolar violation of the incoming data. A line-code violation event for an B8ZS-coded signal is the occurrence of a received excessive zeros (EXZ) or a bipolar violation that is not part of a zero-substitution code. * Controlled Slip Event: A controlled-slip event is a replication, or deletion, of a T1 frame by the receiving terminal. A controlled slip may occur when there is a difference between the timing of a synchronous receiving terminal and the received signal. 6.7.4 Path and Test Signal Identification Message The path identification message is used to identify the path between the source terminal and the sink terminal. The test signal identification message is used by test signal generating equipment. Both identification messages are made up of 82 bytes of data. Byte 1 to 4, 81 and 82 are the message header and bytes 5 to 80 contain six data elements. These messages use the SAPI/TEI value of 0x15 to differentiate themselves from the performance report message. 6.7.5 Frame Structure The message structure of message-oriented signal is shown in Figure 35. Two format types are shown in the figure: format A for frames which are sending performance report message and format B for frames which containing a path or test signal identification message. The following abbreviations are used: * SAPI: Service Access Point Identifier * C/R: Command or Response * EA: Extended Address * TEI: Terminal Endpoint Identifier * FCS: Frame Check Sequence 6.7.6 Flag Sequence All frames shall start and end with the flag sequence consisting of one 0 bit followed by six contiguous 1 bits and one 0 bit. The flag preceding the address field is defined as the opening flag. The flag following the Frame Check Sequence (FCS) field is defined as the closing flag. The closing flag may also serve as the opening flag
169
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
of the next frame, in some applications. However, all receivers must be able to accommodate receipt of one or more consecutive flags. 6.7.7 Address Field The address field consists of two octets. A single octet address field is reserved for LAPB operation in order to allow a single LAPB data link connection to be multiplexed along with LAPD data link connections. 6.7.8 Address Field Extension bit (EA) The address field range is extended by reserving bit 1 of the address field octets to indicate the final octet of the address field. The presence of a 1 in bit 1 of an address field octet signals that it is the final octet of the address field. The double octet address field for LAPD operation shall have bit 1 of the first octet set to a 0 and bit 1 of the second octet set to 1. 6.7.9 Command or Response bit (C/R) The Command or Response bit identifies a frame as either a command or a response. The user side shall send commands with the C/R bit set to 0, and responses with the C/R bit set to 1. The network side shall do the opposite; That is, commands are sent with C/R bit set to 1, and responses are sent with C/R bit set to 0. 6.7.10 Service Access Point Identifier (SAPI) The Service Access Point Identifier identifies a point at which data link layer services are preceded by a data link layer entity type to a layer 3 or management entity. Consequently, the SAPI specifies a data link layer entity type that should process a data link layer frame and also a layer 3 or management entity, which is to receive information carried by the data link layer frame. The SAPI allows 64 service access points to be specified, where bit 3 of the address field octet containing the SAPI is the least significant binary digit and bit 8 is the most significant. SAPI values are 0x14 and 0x15 for performance report message and path or test signal identification message respectively. 6.7.11 Terminal Endpoint Identifier (TEI) The TEI sub-field allows 128 values where bit 2 of the address field octet containing the TEI is the least significant binary digit and bit 8 is the most significant binary digit. The TEI sub-field bit pattern 111 1111 (=127) is defined as the group TEI. The group TEI is assigned permanently to the broadcast data link connection associated with the addressed Service Access Point (SAP). TEI values other than 127 are used for the point-to-point data link connections associated with the addressed SAP. Non-automatic TEI values (0-63) are selected by the user, and their allocation is the responsibility of the user. The network automatically selects and allocates TEI values (64-126). 6.7.12 Control Field The control field identifies the type of frame which will be either a command or response. The control field shall consist of one or two octets. Three types of control field formats are specified: 2-octet numbered information transfer (I format), 2-octet supervisory functions (S format), and single-octet unnumbered information transfers and control functions (U format). The control field for T1/E1 message is categorized as a single-octet unacknowledged information transfer having the value 0x03. 6.7.13 Frame Check Sequence (FCS) Field The source of either the performance report or an identification message shall generate the frame check sequence. The FCS field shall be a 16-bit sequence. It shall be the ones complement of the sum (modulo 2) of: * The remainder of xk (x15 + x14 + x13 + x12 + x11 + x10 + x9 + x8 + x7 + x6 + x5 + x4 + x3 + x2 + x + 1) divided (modulo 2) by the generator polynomial x16 + x12 + x5 + 1, where k is the number of bits in the frame existing between, but not including, the final bit of the opening flag and the first bit of the FCS, excluding bits inserted for transparency, and * The remainder of the division (modulo 2) by the generator polynomial x16 + x12 + x5 + 1, of the product of x16 by the content of the frame existing between, but not including, the final bit of the opening flag and the first bit of the FCS, excluding bits inserted for transparency. As a typical implementation at the transmitter, the initial content of the register of the device computing the remainder of the division is preset to all 1s and is then modified by division by the generator polynomial on the address, control and information fields; the ones complement of the resulting remainder is transmitted as the 16-bit FCS.
170
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
As a typical implementation at the receiver, the initial content of the register of the device computing the remainder is preset to all 1s. The final remainder, after multiplication by x16 and then division (modulo 2) by the generator polynomial x16 + x12 + x5 + 1 of the serial incoming protected bits and the FCS, will be 0001110100001111 (x15 through x0, respectively) in the absence of transmission errors. 6.7.14 Transparency (Zero Stuffing) A transmitting data link layer entity shall examine the frame content between the opening and closing flag sequences, (address, control, information and FCS field) and shall insert a 0 bit after all sequences of five contiguous 1 bits (including the last five bits of the FCS) to ensure that an IDLE flag or an Abort sequence is not simulated within the frame. A receiving data link layer entity shall examine the frame contents between the opening and closing flag sequences and shall discard any 0 bit which directly follows five contiguous 1 bits.
171
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
6.8 TRANSMIT SLC(R)96 DATA LINK CONTROLLER The SLC(R)96 T1 format is invented by AT&T and is used between the Digital Switch and a SLC(R)96 formatted remote terminal. The purpose of the SLC(R)96 product is to provide standard telephone service or Plain Old Telephone Service (POTS) in areas of high subscriber density but back-haul the traffic over T1 facilities. To support the SLC(R)96 formatted remote terminal equipment, which is likely in an underground location, the T1 framer must: * Indicate equipment failures of the equipment to maintenance personal * Indicate failures of the POTS lines * Test the POTS lines * Provide redundancy on the T1s The SLC(R)96 framing format is a D4 Super-frame (SF) format with specialized data link information bits. These data link information bits take the position of the Super-frame Alignment (Fs) bit positions. These bits consist of the following. * Concentrator bits (C, bit position 1 to 11) * First Spoiler bits (FS, bit position 12 to 14) * Maintenance bits (M, bit position 15 to 17) * Alarm bits (A, bit position 18 to 19) * Protection Line Switch bits (S, bit position 20 to 23) * Second Spoiler bit (SS, bit position 24) * Resynchronization pattern (000111000111) In SLC(R)96 mode, a six 6-bit datalink message will generate a one 9-ms frame of the SLC(R)96 message format. The format of the datalink message is given in BELLCORE TR-TSY-000008. When SLC(R)96 mode is enabled, the Fs bit is replaced by the data link message read from memory at the beginning of each D4 superframe. The XRT86L30 allocates two 6-byte buffers to provide the SLC(R)96 Data Link Controller an alternating access mechanism for information transmission. The bit ordering and usage is shown in the following table; and the LSB is sent first. Note that these registers are memory-based storage and they need to be initialized. TRANSMIT SLC(R)96 MESSAGE REGISTERS
BYTE 1 2 3 4 5 6 5 0 C1 C7 1 A2 0 4 1 1 C6 0 A1 1 3 1 1 C5 C11 M3 S4 2 1 1 C4 C10 M2 S3 1 0 0 C3 C9 M1 S2 0 0 0 C2 C8 0 S1
Each register is read out of memory once every six SF super-frames. The memory holding these registers owns a shared memory structure that is used by multiple devices. These include DS1 transmit module, DS1 receive module, Transmit LAPD Controller, Transmit SLC(R)96 Data Link controller, Bit-Oriented Signaling Processor, Receive LAPD Controller, Receive SLC(R)96 Data Link Controller, Receive Bit-Oriented Signaling Processor and microprocessor interface module.
172
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
6.9 D/E TIME SLOT TRANSMIT HDLC CONTROLLER BLOCK V5.1 OR V5.2 INTERFACE V5.2 protocol specifies a provision for transmitting simultaneous LAPD messages. Since only one message can be sent through the datalink bits at one time, an alternative path for communication is offered within the framer block. This alternative path is known as D or E channel which can be transmitted through one or more of the DS-0 time slots. D channel is used primarily for data link applications. E channel is used primarily for signaling for circuit switching with multiple access configurations. A range of time slots can be dedicated to HDLC1, while a different range of time slots can be dedicated to HDLC2 to support V5.2. In addition, HDLC3 can be used to transmit a third LAPD message if desired. The HDLC controllers are implemented in the same manner as the datalink described above with the exception of the data link source select bits. 6.10 AUTOMATIC PERFORMANCE REPORT (APR) The APR feature allows the system to transmit PMON status within a LAPD Framing format A at one second intervals or within a single shot report. The data octets 5 through 12 within the LAPD frame are replaced with the PMON status for the previous one second interval. TABLE 169: FRAMING FORMAT FOR PMON STATUS INSERTED WITHIN LAPD BY INITIATING APR
Octet Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
8
7
G3 FE G3 FE G3 FE G3 FE
LV SE LV SE LV SE LV SE
5 4 3 Flag = 01111110 SAPI = 001110 TEI = 0000000 Control = 00000011 = Unacknowledged Frame G4 U1 U2 G5 LB G1 R G2 G4 U1 U2 G5 LB G1 R G2 G4 U1 U2 G5 LB G1 R G2 G4 U1 U2 G5 LB G1 R G2 FCS FCS Flag = 01111110
6
2 CR
1 EA=0 EA=1 G6 Ni G6 Ni G6 Ni G6 Ni
Time (s)
SL Nm SL Nm SL Nm SL Nm
T0 T0 - 1 T0 - 2 T0 - 3
NOTE: The right most bit (bit 1) is transmitted first for all fields except for the two bytes of the FCS that are transmitted left most bit (bit 8) first.
6.10.1 Bit Value Interpretation G1 = 1 if number of CRC error events is equal to 1 G2 = 1 if number of CRC error events is greater than 1 or equal to 5 G3 = 1 if number of CRC error events is greater than 5 or equal to 10 G4 = 1 if number of CRC error events is greater than 10 or equal to 100 G5 = 1 if number of CRC error events is greater than 100 or equal to 319 G6 = 1 if number of CRC error events is equal to 320 SE = 1 if a severely errored framing event occurs (FE shall be 0) FE = 1 if a framing synchronization bit error event occurs (SE shall be 0) LV = 1 if a line code violation event occurs SL = 1 if slip event within the slip buffer occurs LB = 1 if payload loopback is activated
173
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
U1 = Not Used (default = 0) U2 = Not Used (default = 0) R = Not Used (default = 0) NmNi = One second report module 4 count
REV. P1.0.1
174
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
7.0 OVERHEAD INTERFACE BLOCK The XRT86L30 has the ability to extract or insert DS1 data link information from or into the following: * Facility Data Link (FDL) bits in ESF framing format mode * Signaling Framing (Fs) bits in SLC(R)96 and N framing format mode * Remote Signaling (R) bits in T1DM framing format mode The source and destination of these inserted and extracted data link bits would be from either the internal HDLC Controller or the external device accessible through DS1 Overhead Interface Block. The operation of the Transmit Overhead Input Interface Block and the Receive Overhead Output Interface Block will be discussed separately. 7.1 DS1 TRANSMIT OVERHEAD INPUT INTERFACE BLOCK 7.1.1 Description of the DS1 Transmit Overhead Input Interface Block The DS1 Transmit Overhead Input Interface Block will allow an external device to be the provider of the Facility Data Link (FDL) bits in ESF framing format mode, Signaling Framing (Fs) bits in the SLC96 and N framing format mode and Remote Signaling (R) bit in T1DM framing format mode. This interface provides interface signals and required interface timing to shift in proper data link information at proper time. The Transmit Overhead Input Interface for a given Framer consists of two signals. * TxOHClk_n: The Transmit Overhead Input Interface Clock Output signal * TxOH_n: The Transmit Overhead Input Interface Input signal. The Transmit Overhead Input Interface Clock Output pin (TxOHCLK_n) generates a rising clock edge for each data link bit position according to configuration of the framer. The Data Link equipment interfaced to the Transmit Overhead Input Interface block should update the data link bits on the TxOH_n line upon detection of the rising edge of TxOHClk_n. The Transmit Overhead Input Interface block will sample and latch the data link bits on the TxOH_n line on the falling edge of TxOHClk_n. The data link bits will be included and transmitted via the outgoing DS1 frames. The figure below shows block diagram of the DS1 Transmit Overhead Input Interface of XRT86L30. FIGURE 36. BLOCK DIAGRAM OF THE DS1 TRANSMIT OVERHEAD INPUT INTERFACE OF THE XRT86L30
TxOH_n TxOHClk_n
Transmit Overhead Input Interface
To Transmit Framer Block
7.1.2 Configure the DS1 Transmit Overhead Input Interface module as source of the Facility Data Link (FDL) bits in ESF framing format mode The FDL bits in ESF framing format mode can be inserted from: * DS1 Transmit Overhead Input Interface Block * DS1 Transmit HDLC Controller * DS1 Transmit Serial Input Interface.
175
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
The Transmit Data Link Source Select bits of the Transmit Data Link Select Register (TDLSR) controls the insertion of data link bits into the FDL bits in ESF framing format mode. The table below shows configuration of the Transmit Data Link Source Select bits of the Transmit Data Link Select Register (TDLSR). TRANSMIT DATA LINK SELECT REGISTER (TDLSR) (ADDRESS = 0X010AH)
BIT NUMBER 1-0 BIT NAME Transmit Data Link Source Select BIT TYPE R/W BIT DESCRIPTION 00 - The Facility Data Link bits are inserted into the framer through either the LAPD controller or the SLC(R)96 buffer. 01 - The Facility Data Link bits are inserted into the framer through the Transmit Serial Data input Interface via the TxSer_n pins. 10 - The Facility Data Link bits are inserted into the framer through the Transmit Overhead Input Interface via the TxOH_n pins. 11 - The Facility Data Link bits are forced to one by the framer.
If the Transmit Data Link Source Select bits of the Transmit Data Link Select Register are set to 10, the Transmit Overhead Input Interface Block becomes input source of the FDL bits. The XRT86L30 allows the user to select bandwidth of the Facility Data Link Channel in ESF framing format mode. The FDL can be either a 4KHz or 2KHz data link channel. The Transmit Data Link Bandwidth Select bits of the Transmit Data Link Select Register (TDLSR) determine the bandwidth of FDL channel in ESF framing format mode. The table below shows configuration of the Transmit Data Link Bandwidth Select bits of the Transmit Data Link Select Register (TDLSR).) TRANSMIT DATA LINK SELECT REGISTER (TDLSR) (ADDRESS = 0X010AH)
BIT NUMBER 5-4 BIT NAME Transmit Data Link Bandwidth Select BIT TYPE R/W BIT DESCRIPTION 00 - The Facility Data Link is a 4KHz channel. All available FDL bits (first bit of every other frame) are used as data link bits. 01 - The Facility Data Link is a 2KHz channel. Only the odd FDL bits (first bit of frame 1, 5, 9...) are used as data link bits. 10 - The Facility Data Link is a 2KHz channel. Only the even FDL bits (first bit of frame 3, 7, 11...) are used as data link bits.
Figure 37 below shows the timing diagram of the input and output signals associated with the DS1 Transmit Overhead Input Interface module in ESF framing format mode.
176
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
FIGURE 37. DS1 TRANSMIT OVERHEAD INPUT INTERFACE TIMING IN ESF FRAMING FORMAT MODE
7.1.3 Configure the DS1 Transmit Overhead Input Interface module as source of the Signaling Framing (Fs) bits in N or SLC(R)96 framing format mode The Fs bits in SLC(R)96 and N framing format mode can be inserted from: * DS1 Transmit Overhead Input Interface Block * DS1 Transmit HDLC Controller * DS1 Transmit Serial Input Interface. The Transmit Data Link Source Select bits of the Transmit Data Link Select Register (TDLSR) controls the insertion of data link bits into the Fs bits in N or SLC(R)96 framing format mode. The table below shows configuration of the Transmit Data Link Source Select bits of the Transmit Data Link Select Register (TDLSR). TRANSMIT DATA LINK SELECT REGISTER (TDLSR) (ADDRESS = 0X010AH)
BIT NUMBER 1-0 BIT NAME Transmit Data Link Source Select BIT TYPE R/W BIT DESCRIPTION 00 - The Signaling Framing bits are inserted into the framer through either the LAPD controller or the SLC(R)96 buffer. 01 - The Signaling Framing bits are inserted into the framer through the Transmit Serial Data input Interface via the TxSer_n pins. 10 - The Signaling Framing bits are inserted into the framer through the Transmit Overhead Input Interface via the TxOH_n pins. 11 - The Signaling Framing bits are forced to one by the framer.
If the Transmit Data Link Source Select bits of the Transmit Data Link Select Register are set to 10, the Transmit Overhead Input Interface Block becomes input source of the Fs bits.
177
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
Figure 38 below shows the timing diagram of the input and output signals associated with the DS1 Transmit Overhead Input Interface module in N or SLC(R)96 framing format mode. FIGURE 38. DS1 TRANSMIT OVERHEAD INPUT TIMING IN N OR SLC(R)96 FRAMING FORMAT MODE
7.1.4 Configure the DS1 Transmit Overhead Input Interface module as source of the Remote Signaling (R) bits in T1DM framing format mode The R bits in T1DM framing format mode can be inserted from: * DS1 Transmit Overhead Input Interface Block * DS1 Transmit HDLC Controller * DS1 Transmit Serial Input Interface. The Transmit Data Link Source Select bits of the Transmit Data Link Select Register (TDLSR) controls the insertion of data link bits into the R bits in T1DM framing format mode. The table below shows configuration of the Transmit Data Link Source Select bits of the Transmit Data Link Select Register (TDLSR). TRANSMIT DATA LINK SELECT REGISTER (TDLSR) (ADDRESS = 0X010AH)
BIT NUMBER 1-0 BIT NAME Transmit Data Link Source Select BIT TYPE R/W BIT DESCRIPTION 00 - The Remote Signaling bits are inserted into the framer through either the LAPD controller or the SLC(R)96 buffer. 01 - The Remote Signaling bits are inserted into the framer through the Transmit Serial Data input Interface via the TxSer_n pins. 10 - The Remote Signaling bits are inserted into the framer through the Transmit Overhead Input Interface via the TxOH_n pins. 11 - The Remote Signaling bits are forced to one by the framer.
If the Transmit Data Link Source Select bits of the Transmit Data Link Select Register are set to 10, the Transmit Overhead Input Interface Block becomes input source of the R bits. Since R bit presents in Timeslot 24 of every T1DM frame, therefore, bandwidth of T1DM data link channel is 8KHz. Figure 39 below shows the timing diagram of the input and output signals associated with the DS1 Transmit Overhead Input Interface module in T1DM framing format mode. FIGURE 39. DS1 TRANSMIT OVERHEAD INPUT INTERFACE MODULE IN T1DM FRAMING FORMAT MODE
7.2 DS1 RECEIVE OVERHEAD OUTPUT INTERFACE BLOCK
178
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
7.2.1 Description of the DS1 Receive Overhead Output Interface Block The DS1 Receive Overhead Output Interface Block allows an external device to be the consumer of the Facility Data Link (FDL) bits in ESF framing format mode, Signaling Framing (Fs) bits in the SLC96 and N framing format mode and Remote Signaling (R) bit in T1DM framing format mode This interface provides interface signals and required interface timing to shift out proper data link information at proper time. The Receive Overhead Output Interface for a given Framer consists of two signals. * RxOHClk_n: The Receive Overhead Output Interface Clock Output signal * RxOH_n: The Receive Overhead Output Interface Output signal. The Receive Overhead Output Interface Clock Output pin (RxOHCLK_n) generates a rising clock edge for each data link bit position according to configuration of the framer. The data link bits extracted from the incoming T1 frames are outputted from the Receive Overhead Output Interface Output pin (RxOH_n) at the rising edge of RxOHClk_n. The Data Link equipment should sample and latch the data link bits at the falling edge of RxOHClk_n. The figure below shows block diagram of the Receive Overhead Output Interface of XRT86L30. FIGURE 40. BLOCK DIAGRAM OF THE DS1 RECEIVE OVERHEAD OUTPUT INTERFACE OF XRT86L30
RxOH_n RxOHClk_n
Receive Overhead Output Interface
From Receive Framer Block
7.2.2 Configure the DS1 Receive Overhead Output Interface module as destination of the Facility Data Link (FDL) bits in ESF framing format mode The FDL bits in ESF framing format mode can be extracted to: * DS1 Receive Overhead Output Interface Block * DS1 Receive HDLC Controller * DS1 Receive Serial Output Interface. The Receive Data Link Source Select bits of the Receive Data Link Select Register (RDLSR) controls the extraction of FDL bits in ESF framing format mode. The table below shows configuration of the Receive Data Link Source Select bits of the Receive Data Link Select Register (RDLSR).
RECEIVE DATA LINK SELECT REGISTER (TDLSR) (ADDRESS = 0X010AH)
BIT NUMBER 1-0 BIT NAME Receive Data Link Destination Select BIT TYPE R/W BIT DESCRIPTION 00 - The extracted Facility Data Link bits are stored in either the LAPD controller or the SLC(R)96 buffer. At the same time, the extracted Facility Data Link bits are outputted from the framer through the Receive Serial Data Output Interface via the RxSer_n pins. 01 - The extracted Facility Data Link bits are outputted from the framer through the Receive Serial Data Output Interface via the RxSer_n pins. 10 - The extracted Facility Data Link bits are outputted from the framer through the Receive Overhead Output Interface via the RxOH_n pins. At the same time, the extracted Facility Data Link bits are outputted from the framer through the Receive Serial Data Output Interface via the RxSer_n pins. 11 - The Facility Data Link bits are forced to one by the framer.
179
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
If the Receive Data Link Source Select bits of the Receive Data Link Select Register are set to 10, the Receive Overhead Output Interface Block becomes Output source of the FDL bits. The XRT86L30 allows the user to select bandwidth of the Facility Data Link Channel in ESF framing format mode. The FDL can be either a 4KHz or 2KHz data link channel. The Receive Data Link Bandwidth Select bits of the Receive Data Link Select Register (RDLSR) determine the bandwidth of FDL channel in ESF framing format mode. The table below shows configuration of the Receive Data Link Bandwidth Select bits of the Receive Data Link Select Register (TDLSR). RECEIVE DATA LINK SELECT REGISTER (TDLSR) (ADDRESS = 0X010AH)
BIT NUMBER 5-4 BIT NAME Receive Data Link Bandwidth Select BIT TYPE R/W BIT DESCRIPTION 00 - The Facility Data Link is a 4KHz channel. All available FDL bits (first bit of every other frame) are used as data link bits. 01 - The Facility Data Link is a 2KHz channel. Only the odd FDL bits (first bit of frame 1, 5, 9...) are used as data link bits. 10 - The Facility Data Link is a 2KHz channel. Only the even FDL bits (first bit of frame 3, 7, 11...) are used as data link bits.
Figure 41 below shows the timing diagram of the Output and output signals associated with the DS1 Receive Overhead Output Interface module in ESF framing format mode.
FIGURE 41. DS1 RECEIVE OVERHEAD OUTPUT INTERFACE MODULE IN ESF FRAMING FORMAT MODE
Frame# RxSync RxOhClk (4KHz) RxOh (4KHz) RxOhClk (2KHz,odd) RxOh (2KHz,odd) RxOhClk (2KHz,even) RxOh (2KHz,even) 1 2
4
5
6
7
8
9
1 0
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
2 0
7.2.3 Configure the DS1 Receive Overhead Output Interface module as destination of the Signaling Framing (Fs) bits in N or SLC(R)96 framing format mode The Fs bits in SLC(R)96 and N framing format mode can be extracted to: * DS1 Receive Overhead Output Interface Block * DS1 Receive HDLC Controller * DS1 Receive Serial Output Interface.
180
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
The Receive Data Link Source Select bits of the Receive Data Link Select Register (RDLSR) controls the destination of Fs bits in N or SLC(R)96 framing format mode. The table below shows configuration of the Receive Data Link Source Select bits of the Receive Data Link Select Register (RDLSR). RECEIVE DATA LINK SELECT REGISTER (TDLSR) (ADDRESS = 0X010AH)
BIT NUMBER 1-0 BIT NAME Receive Data Link Source Select BIT TYPE R/W BIT DESCRIPTION 00 - The extracted Facility Data Link bits are stored in either the LAPD controller or the SLC(R)96 buffer. At the same time, the extracted Facility Data Link bits are outputted from the framer through the Receive Serial Data Output Interface via the RxSer_n pins. 01 - The extracted Facility Data Link bits are outputted from the framer through the Receive Serial Data Output Interface via the RxSer_n pins. 10 - The extracted Facility Data Link bits are outputted from the framer through the Receive Overhead Output Interface via the RxOH_n pins. At the same time, the extracted Facility Data Link bits are outputted from the framer through the Receive Serial Data Output Interface via the RxSer_n pins. 11 - The Facility Data Link bits are forced to one by the framer.
If the Receive Data Link Source Select bits of the Receive Data Link Select Register are set to 10, the Receive Overhead Output Interface Block outputs Fs bits extracted from the incoming T1 data stream. Figure 42 below shows the timing diagram of the output signals associated with the DS1 Receive Overhead Output Interface module in N or SLC(R)96 framing format mode. FIGURE 42. DS1 RECEIVE OVERHEAD OUTPUT INTERFACE TIMING IN N OR SLC(R)96 FRAMING FORMAT MODE
7.2.4 Configure the DS1 Receive Overhead Output Interface module as destination of the Remote Signaling (R) bits in T1DM framing format mode The R bits in T1DM framing format mode can be extracted to: * DS1 Receive Overhead Output Interface Block * DS1 Receive HDLC Controller * DS1 Receive Serial Output Interface.
181
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
The Receive Data Link Source Select bits of the Receive Data Link Select Register (RDLSR) controls the destination of R bits in T1DM framing format mode. The table below shows configuration of the Receive Data Link Source Select bits of the Receive Data Link Select Register (RDLSR). RECEIVE DATA LINK SELECT REGISTER (RDLSR) (ADDRESS = 0X010AH)
BIT NUMBER 1-0 BIT NAME Receive Data Link Source Select BIT TYPE R/W BIT DESCRIPTION 00 - The extracted Facility Data Link bits are stored in either the LAPD controller or the SLC(R)96 buffer. At the same time, the extracted Facility Data Link bits are outputted from the framer through the Receive Serial Data Output Interface via the RxSer_n pins. 01 - The extracted Facility Data Link bits are outputted from the framer through the Receive Serial Data Output Interface via the RxSer_n pins. 10 - The extracted Facility Data Link bits are outputted from the framer through the Receive Overhead Output Interface via the RxOH_n pins. At the same time, the extracted Facility Data Link bits are outputted from the framer through the Receive Serial Data Output Interface via the RxSer_n pins. 11 - The Facility Data Link bits are forced to one by the framer.
If the Receive Data Link Source Select bits of the Receive Data Link Select Register are set to 10, the Receive Overhead Output Interface Block outputs the R bits extracted from the incoming T1 data stream. Since R bit presents in Timeslot 24 of every T1DM frame, therefore, bandwidth of T1DM data link channel is 8KHz. Figure 43 below shows the timing diagram of the output signals associated with the DS1 Receive Overhead Output Interface module in T1DM framing format mode. FIGURE 43. DS1 RECEIVE OVERHEAD OUTPUT INTERFACE TIMING IN T1DM FRAMING FORMAT MODE
7.3 E1 OVERHEAD INTERFACE BLOCK The XRT86L30 has the ability to extract or insert E1 data link information from or into the E1 National bit sequence. The source and destination of these inserted and extracted data link bits would be from either the internal HDLC Controller or the external device accessible through E1 Overhead Interface Block. The operation of the Transmit Overhead Input Interface Block and the Receive Overhead Output Interface Block will be discussed separately. 7.4 E1 TRANSMIT OVERHEAD INPUT INTERFACE BLOCK 7.4.1 Description of the E1 Transmit Overhead Input Interface Block The E1 Transmit Overhead Input Interface Block will allow an external device to be the provider of the E1 National bit sequence. This interface provides interface signals and required interface timing to shift in proper data link information at proper time.
182
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
The Transmit Overhead Input Interface for a given Framer consists of two signals. * TxOHClk_n: The Transmit Overhead Input Interface Clock Output signal * TxOH_n: The Transmit Overhead Input Interface Input signal. The Transmit Overhead Input Interface Clock Output pin (TxOHCLK_n) generates a rising clock edge for each National bit that is configured to carry Data Link information according to setting of the framer. The Data Link equipment interfaced to the Transmit Overhead Input Interface should update the data link bits on the TxOH_n line upon detection of the rising edge of TxOHClk_n. The Transmit Overhead Input Interface block will sample and latch the data link bits on the TxOH_n line on the falling edge of TxOHClk_n. The data link bits will be included in and transmitted via the outgoing E1 frames. The figure below shows block diagram of the DS1 Transmit Overhead Input Interface of XRT86L30.
FIGURE 44. BLOCK DIAGRAM OF THE E1 TRANSMIT OVERHEAD INPUT INTERFACE OF XRT86L30
TxOH_n TxOHClk_n
Transmit Overhead Input Interface
To Transmit Framer Block
7.4.2 Configure the E1 Transmit Overhead Input Interface module as source of the National Bit Sequence in E1 framing format mode The National Bit Sequence in E1 framing format mode can be inserted from: * E1 Transmit Overhead Input Interface Block * E1 Transmit HDLC Controller * E1 Transmit Serial Input Interface The purpose of the Transmit Overhead Input Interface is to permit Data Link equipment direct access to the Sa4 through Sa8 National bits that are to be transported via the outbound frames. The Transmit Data Link Source Select [1:0] bits, within the Synchronization MUX Register (SMR) determine source of the Sa4 through Sa8 National bits to be inserted into the outgoing E1 frames. The table below shows configuration of the Transmit Data Link Source Select [1:0] bits of the Synchronization MUX Register (SMR). SYNCHRONIZATION MUX REGISTER (SMR) (ADDRESS = 0X0109H)
BIT NUMBER 3-2 BIT NAME Transmit Data Link Source Select [1:0] BIT TYPE R/W BIT DESCRIPTION 00 - The Sa4 through Sa8 National bits are inserted into the framer through the Transmit Serial Data input Interface via the TxSer_n pins. 01 - The Sa4 through Sa8 National bits are inserted into the framer through the Transmit LAPD Controller. 10 - The Sa4 through Sa8 National bits are inserted into the framer through the Transmit Overhead Input Interface via the TxOH_n pins. 11 - The Sa4 through Sa8 National bits are inserted into the framer through the Transmit Serial Data input Interface via the TxSer_n pins.
If the Transmit Data Link Source Select bits of the Transmit Data Link Select Register are set to 10, the Transmit Overhead Input Interface Block becomes input source of the FDL bits. The XRT86L30 allows the user to decide on the following: * How many of the National Bits will be used to carry the Data Link information bits
183
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
* Which of these National Bits will be used to carry the Data Link information bits.
REV. P1.0.1
The Transmit Sa Data Link Select bits of the Transmit Signaling and Data Link Select Register (TSDLSR) determine which ones of the National bits are configured as Data Link bits in E1 framing format mode. Depending upon the configuration of the Transmit Signaling and Data Link Select Register, either of the following cases may exists: * None of the National bits are used to transport the Data Link information bits (That is, data link channel of XRT86L30 is inactive). * Any combination of between 1 and all 5 of the National bits can be selected to transport the Data Link information bits. The table below shows configuration of the Transmit Sa Data Link Select bits of the Transmit Signaling and Data Link Select Register (TSDLSR). TRANSMIT SIGNALING AND DATA LINK SELECT REGISTER (TSDLSR) (ADDRESS = 0X010AH)
BIT NUMBER 7 6 5 4 3 BIT NAME Transmit Sa8 Data Link Select Transmit Sa7 Data Link Select Transmit Sa6 Data Link Select Transmit Sa5 Data Link Select Transmit Sa4 Data Link Select BIT TYPE R/W R/W R/W R/W R/W BIT DESCRIPTION 0 - Source of the Sa8 Nation bit is not from the data link interface. 1 - Source the Sa8 National bit from the data link interface. 0 - Source of the Sa7 Nation bit is not from the data link interface. 1 - Source the Sa7 National bit from the data link interface. 0 - Source of the Sa6 Nation bit is not from the data link interface. 1 - Source the Sa6 National bit from the data link interface. 0 - Source of the Sa5 Nation bit is not from the data link interface. 1 - Source the Sa5 National bit from the data link interface. 0 - Source of the Sa4 Nation bit is not from the data link interface. 1 - Source the Sa4 National bit from the data link interface.
For every Sa bit that is selected to carry Data Link information, the Transmit Overhead Input Interface will supply a clock pulse, via the TxOHClk_n output pin, such that: * The Data Link equipment interfaced to the Transmit Overhead Input Interface should update the data on the TxOH_n line upon detection of the rising edge of TxOHClk_n. * The Transmit Overhead Input Interface will sample and latch the data on the TxOH_n line on the falling edge of TxOHClk_n.
184
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
Figure 45 below shows the timing diagram of the input and output signals associated with the E1 Transmit Overhead Input Interface module in E1 framing format mode. FIGURE 45. E1 TRANSMIT OVERHEAD INPUT INTERFACE TIMING
7.5 E1 RECEIVE OVERHEAD INTERFACE 7.5.1 Description of the E1 Receive Overhead Output Interface Block The E1 Receive Overhead Output Interface Block will allow an external device to be the consumer of the E1 National bit sequence. This interface provides interface signals and required interface timing to shift out proper data link information at proper time. The Receive Overhead Output Interface for a given Framer consists of two signals. * RxOHClk_n: The Receive Overhead Output Interface Clock Output signal * RxOH_n: The Receive Overhead Output Interface Output signal. The Receive Overhead Output Interface Clock Output pin (RxOHCLK_n) generates a rising clock edge for each National bit that is configured to carry Data Link information according to setting of the framer. The data link bits extracted from the incoming E1 frames are outputted from the Receive Overhead Output Interface Output pin (RxOH_n) before the rising edge of RxOHClk_n. The Data Link equipment should sample and latch the data link bits at the rising edge of RxOHClk_n. The figure below shows block diagram of the Receive Overhead Output Interface of XRT86L30. FIGURE 46. BLOCK DIAGRAM OF THE E1 RECEIVE OVERHEAD OUTPUT INTERFACE OF XRT86L30
RxOH_n RxOHClk_n
Receive Overhead Output Interface
From Receive Framer Block
185
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
7.5.2 Configure the E1 Receive Overhead Output Interface module as source of the National Bit Sequence in E1 framing format mode The National Bit Sequence in E1 framing format mode can be extracted and directed to: * E1 Receive Overhead Output Interface Block * E1 Receive HDLC Controller * E1 Receive Serial Output Interface The purpose of the Receive Overhead Output Interface is to permit Data Link equipment to have direct access to the Sa4 through Sa8 National bits that are extracted from the incoming E1 frames. Independent of the availability of the E1 Receive HDLC Controller module, the XRT86L30 always output the received National bits through the Receive Overhead Output Interface block. The XRT86L30 allows the user to decide on the following: * How many of the National Bits is used to carry the Data Link information bits * Which of these National Bits is used to carry the Data Link information bits. The Receive Sa Data Link Select bits of the Receive Signaling and Data Link Select Register (TSDLSR) determine which ones of the National bits are configured as Data Link bits in E1 framing format mode. Depending upon the configuration of the Receive Signaling and Data Link Select Register, either of the following cases may exists: * None of the received National bits are used to transport the Data Link information bits (That is, data link channel of XRT86L30 is inactive). * Any combination of between 1 and all 5 of the received National bits are used to transport the Data Link information bits. The table below shows configuration of the Receive Sa Data Link Select bits of the Receive Signaling and Data Link Select Register (RSDLSR). RECEIVE SIGNALING AND DATA LINK SELECT REGISTER (RSDLSR) (ADDRESS = 0X010CH)
BIT NUMBER 7 6 5 4 3 BIT NAME Receive Sa8 Data Link Select Receive Sa7 Data Link Select Receive Sa6 Data Link Select Receive Sa5 Data Link Select Receive Sa4 Data Link Select BIT TYPE R/W R/W R/W R/W R/W BIT DESCRIPTION 0 - The received Sa8 Nation bit is not extracted to the data link interface. 1 - The received Sa8 Nation bit is extracted to the data link interface. 0 - The received Sa7 Nation bit is not extracted to the data link interface. 1 - The received Sa7 Nation bit is extracted to the data link interface. 0 - The received Sa6 Nation bit is not extracted to the data link interface. 1 - The received Sa6 Nation bit is extracted to the data link interface. 0 - The received Sa5 Nation bit is not extracted to the data link interface. 1 - The received Sa5 Nation bit is extracted to the data link interface. 0 - The received Sa4 Nation bit is not extracted to the data link interface. 1 - The received Sa4 Nation bit is extracted to the data link interface.
For every received Sa bit that is determined to carry Data Link information, the Receive Overhead Output Interface will supply a clock pulse, via the RxOHClk_n output pin, such that: * The Receive Overhead Output interface should update the data on the RxOH_n line before the rising edge of RxOHClk_n. * The external Data Link equipment interfaced to the Receive Overhead Output Interface will sample and latch the data on the RxOH_n line on the rising edge of RxOHClk_n.
186
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
Figure 47 below shows the timing diagram of the output signals associated with the E1 Receive Overhead Output Interface module in E1 framing format mode. FIGURE 47. E1 RECEIVE OVERHEAD OUTPUT INTERFACE TIMING
187
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
8.0 LIU TRANSMIT PATH
REV. P1.0.1
8.1 TRANSMIT DIAGNOSTIC FEATURES In addition to TAOS, the XRT86L30 offers multiple diagnostic features for analyzing network integrity such as ATAOS, Network Loop Code generation, and QRSS on a per channel basis by programming the appropriate registers. These diagnostic features take priority over the digital data provided by the Framer block. The transmitters will send the diagnostic code to the line and will be maintained in the digital loopback if selected. 8.1.1 TAOS (Transmit All Ones) The XRT86L30 has the ability to transmit all ones on a per channel basis by programming the appropriate channel register. This function takes priority over the digital data provided by the Framer block. For example: If a fixed "0011" pattern is provided by the Framer block and TAOS is enabled, the transmitter will output all ones. Figure 48 is a diagram showing the all ones signal at TTIP and TRING. FIGURE 48. TAOS (TRANSMIT ALL ONES)
1 TAOS
1
1
188
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
8.1.2 ATAOS (Automatic Transmit All Ones) If ATAOS is selected by programming the appropriate global register, an AMI all ones signal will be transmitted for each channel that experiences an RLOS condition. If RLOS does not occur, the ATAOS will remain inactive until an RLOS on a given channel occurs. A simplified block diagram of the ATAOS function is shown in Figure 49. FIGURE 49. SIMPLIFIED BLOCK DIAGRAM OF THE ATAOS FUNCTION
Tx
TTIP TRING
TAOS
ATAOS RLOS
8.1.3 Network Loop Up Code By setting the LIU to generate a NLUC, the transmitters will send out a repeating "00001" pattern. The output waveform is shown in Figure 50. FIGURE 50. NETWORK LOOP UP CODE GENERATION
1 Network Loop-Up Code
0
0
0
0
1
0
0
0
0
1
8.1.4 Network Loop Down Code By setting the LIU to generate a NLDC, the transmitters will send out a repeating "001" pattern. The output waveform is shown in Figure 51. FIGURE 51. NETWORK LOOP DOWN CODE GENERATION
1 Network Loop-Down Code
0
0
1
0
0
1
0
0
1
0
189
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
8.1.5 QRSS Generation The XRT86L30 can transmit a QRSS random sequence to a remote location from TTIP/TRING. The polynomial is shown in Table 170. TABLE 170: RANDOM BIT SEQUENCE POLYNOMIALS
RANDOM PATTERN QRSS/PRBS T1 220 - 1 E1 215 - 1
8.2 T1 LONG HAUL LINE BUILD OUT (LBO) The long haul transmitter output pulses are generated using a 7-Bit internal DAC (6-Bits plus the MSB sign bit). The line build out can be set to -7.5dB, -15dB, or -22dB cable attenuation by programming the appropriate channel register. The long haul LBO consist of 32 discrete time segments extending over four consecutive periods of TCLK. As the LBO attenuation is increased, the pulse amplitude is reduced so that the waveform complies with ANSI T1.403 specifications. A long haul pulse with -7.5dB attenuation is shown in Figure 52, a pulse with -15dB attenuation is shown in Figure 53, and a pulse with -22.5dB attenuation is shown in Figure 54. FIGURE 52. LONG HAUL LINE BUILD OUT WITH -7.5DB ATTENUATION
FIGURE 53. LONG HAUL LINE BUILD OUT WITH -15DB ATTENUATION
190
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
FIGURE 54. LONG HAUL LINE BUILD OUT WITH -22.5DB ATTENUATION
8.3 T1 SHORT HAUL LINE BUILD OUT (LBO) The short haul transmitter output pulses are generated using a 7-Bit internal DAC (6-Bit plus the MSB sign bit). The line build out can be set to interface to five different ranges of cable attenuation by programming the appropriate channel register. The pulse shape is divided into eight discrete time segments which are set to fixed values to comply with the pulse template. To program the eight segments individually to optimize a special line build out, see the arbitrary pulse section of this datasheet. The short haul LBO settings are shown in Table 171 TABLE 171: SHORT HAUL LINE BUILD OUT
LBO SETTING EQC[4:0] 08h (01000) 09h (01001) 0Ah (01010) 0Bh (01011) 0Ch (01100) RANGE OF CABLE ATTENUATION 0 - 133 Feet 133 - 266 Feet 266 - 399 Feet 399 - 533 Feet 533 - 655 Feet
8.3.1 Arbitrary Pulse Generator In T1 mode only, the arbitrary pulse generator divides the pulse into eight individual segments. Each segment is set by a 7-Bit binary word by programming the appropriate channel register. This allows the system designer to set the overshoot, amplitude, and undershoot for a unique line build out. The MSB (bit 7) is a sign-bit. If the sign-bit is set to "0", the segment will move in a positive direction relative to a flat line (zero) condition. If this sign-bit is set to "1", the segment will move in a negative direction relative to a flat line condition. The resolution of the DAC is typically 60mV per LSB. Thus, writing 7-bit = 1111111 will clamp the output at either voltage rail corresponding to a maximum amplitude. A pulse with numbered segments is shown in Figure 55.
191
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
FIGURE 55. ARBITRARY PULSE SEGMENT ASSIGNMENT
REV. P1.0.1
1 2 3 Segment 1 2 3 4 5 6 7 8 Register 0x0F08 0x0F09 0x0F0a 0x0F0b 0x0F0c 0x0F0d 0x0F0e 0x0F0f 4
8 7 6 5
NOTE: By default, the arbitrary segments are programmed to 0x00h. The transmitter outputs will result in an all zero pattern to the line interface.
8.3.2 DMO (Digital Monitor Output) The driver monitor circuit is used to detect transmit driver failures by monitoring the activities at TTIP/TRING outputs. Driver failure may be caused by a short circuit in the primary transformer or system problems at the transmit inputs. If the transmitter of a channel has no output for more than 128 clock cycles, DMO goes "High" until a valid transmit pulse is detected. If the DMO interrupt is enabled, the change in status of DMO will cause the interrupt pin to go "Low". Once the status register is read, the interrupt pin will return "High" and the status register will be reset (RUR). 8.3.3 Transmit Jitter Attenuator The transmit path has a dedicated jitter attenuator to reduce phase and frequency jitter in the transmit clock. The jitter attenuator uses a data FIFO (First In First Out) with a programmable depth of 32-bit or 64-bit. When the Read and Write pointers of the FIFO are within 2-Bits of over-flowing or under-flowing, the bandwidth of the jitter attenuator is widened to track the short term input jitter, thereby avoiding data corruption. When this condition occurs, the jitter attenuator will not attenuate input jitter until the Read/Write pointer's position is outside the 2-Bit window. In T1 mode, the bandwidth of the JA is always set to 3Hz. In E1 mode, the bandwidth is programmable to either 10Hz or 1.5Hz (1.5Hz automatically selects the 64-Bit FIFO depth). The JA has a clock delay equal to 1/2 of the FIFO bit depth.
NOTE: The Receive Path has a dedicated jitter attenuator. See the Receive Path Line Interface Section.
192
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
8.4 LINE TERMINATION (TTIP/TRING) The output stage of the transmit path generates standard return-to-zero (RZ) signals to the line interface for T1/ E1/J1 twisted pair or E1 coaxial cable. The physical interface is optimized by placing the terminating impedance inside the LIU. This allows one bill of materials for all modes of operation reducing the number of external components necessary in system design. The transmitter outputs only require one DC blocking capacitor of 0.68F. For redundancy applications (or simply to tri-state the transmitters), set TxTSEL to a "1" in the appropriate channel register. A typical transmit interface is shown in Figure 56. FIGURE 56. TYPICAL CONNECTION DIAGRAM USING INTERNAL TERMINATION
XRT86L30 LIU TTIP Transmitter Output C=0.68uF TRING Line Interface T1/E1/J1 1:2
One Bill of Materials Internal Impedance
193
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
9.0 LIU RECEIVE PATH 9.1 LINE TERMINATION (RTIP/RRING)
REV. P1.0.1
9.1.1 CASE 1: Internal Termination The input stage of the receive path accepts standard T1/E1/J1 twisted pair or E1 coaxial cable inputs through RTIP and RRING. The physical interface is optimized by placing the terminating impedance inside the LIU. This allows one bill of materials for all modes of operation reducing the number of external components necessary in system design. The receive termination impedance is selected by programming TERSEL[1:0] to match the line impedance. Selecting the internal impedance is shown in Table 172. TABLE 172: SELECTING THE INTERNAL IMPEDANCE
TERSEL[1:0] 0h (00) 1h (01) 2h (10) 3h (11) RECEIVE TERMINATION 100 110 75 120
The XRT86L30 has the ability to switch the internal termination to "High" impedance by programming RxTSEL in the appropriate channel register, if the RxTSEL hardware pin is "High". For internal termination, set RxTSEL to "1". By default, RxTSEL is set to "0" ("High" impedance). For redundancy applications, a dedicated hardware pin (RxTSEL) is available to control the receive termination for all channels simultaneously. This hardware pin is AND-ed with the register bit. Both, the register bit and the hardware pin must be set active for the receiver to be configured for internal impedance. Figure 57 shows a typical connection diagram using the internal termination. FIGURE 57. TYPICAL CONNECTION DIAGRAM USING INTERNAL TERMINATION
XRT86L30 LIU Receiver Input
RTIP
1:1 Line Interface T1/E1/J1
RRING 0.1F
Internal Impedance
One Bill of Materials
9.1.2 CASE 2: Internal Termination With One External Fixed Resistor for All Modes Along with the internal termination, a high precision external fixed resistor can be used to optimize the return loss. This external resistor can be used for all modes of operation ensuring one bill of materials. There are three resistor values that can be used by setting the RxRES[1:0] bits in the appropriate channel register. Selecting the value for the external fixed resistor is shown in Table 173. TABLE 173: SELECTING THE VALUE OF THE EXTERNAL FIXED RESISTOR
RXRES[1:0] 0h (00) 1h (01) 2h (10) 3h (11) EXTERNAL FIXED RESISTOR None 240 210 150
194
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
By default, RxRES[1:0] is set to "None" for no external fixed resistor. If an external fixed resistor is used, the XRT86L30 uses the parallel combination of the external fixed resistor and the internal termination as the input impedance. See Figure 58 for a typical connection diagram using the external fixed resistor.
NOTE: Without the external resistor, the XRT86L30 meets all return loss specifications. This mode was created to add flexibility for optimizing return loss by using a high precision external resistor.
FIGURE 58. TYPICAL CONNECTION DIAGRAM USING ONE EXTERNAL FIXED RESISTOR
XRT86L30 LIU Receiver Input
R=240, 210, or 150 RTIP R 1:1 Line Interface T1/E1/J1
RRING
0.1F Internal Impedance
9.1.3 Equalizer Control The main objective of the equalizer is to amplify an input attenuated signal to a pre-determined amplitude that is acceptable to the peak detector circuit. Using feedback from the peak detector, the equalizer will gain the input up to the maximum value specified by the equalizer control bits, in the appropriate channel register, normalizing the signal. Once the signal has reached the pre-determined amplitude, the signal is then processed within the peak detector and slicer circuit. A simplified block diagram of the equalizer and peak detector is shown in Figure 59. FIGURE 59. SIMPLIFIED BLOCK DIAGRAM OF THE EQUALIZER AND PEAK DETECTOR
Peak Detector & Slicer
RTIP Rx Equalizer RRING
Rx Equalizer Control
9.1.4 Cable Loss Indicator The ability to monitor the cable loss attenuation of the receiver inputs is a valuable feature. The XRT86L30 contains a per channel, read only register for cable loss indication. CLOS[5:0] is a 6-Bit binary word that reports the value of cable loss in 1dB steps with an absolute accuracy of 1dB. An example of -25dB cable loss attenuation is shown in Figure 60. FIGURE 60. SIMPLIFIED BLOCK DIAGRAM OF THE CABLE LOSS INDICATOR
-25dB Attenuated Signal -25dB of Cable Loss Equalizer and Peak Detector
XRT86L30
Read Only CLOS[5:0] = 0x19h (25dec = 19hex)
195
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
9.2 RECEIVE SENSITIVITY To meet Long Haul receive sensitivity requirements, the XRT86L30 can accept T1/E1/J1 signals that have been attenuated by 43dB cable attenuation in E1 mode or 36dB cable attenuation in T1 mode without experiencing bit errors, LOF, pattern synchronization, etc. Short haul specifications are for 12dB of flat loss in E1 mode. T1 specifications are 655 feet of cable loss along with 6dB of flat loss in T1 mode. The XRT86L30 can tolerate cable loss and flat loss beyond the industry specifications. The receive sensitivity in the short haul mode is approximately 4,000 feet without experiencing bit errors, LOF, pattern synchronization, etc. Although data integrity is maintained, the RLOS function (if enabled) will report an RLOS condition according to the receiver loss of signal section in this datasheet. The test configuration for measuring the receive sensitivity is shown in Figure 61. FIGURE 61. TEST CONFIGURATION FOR MEASURING RECEIVE SENSITIVITY
W&G ANT20 Tx Cable Loss Network Analyzer Rx Rx Flat Loss Tx XRT86L30 1-Channel Framer/LIU External Loopback
E1 = PRBS 215 - 1 T1 = PRBS 223 - 1
9.2.1 AIS (Alarm Indication Signal) The XRT86L30 adheres to the ITU-T G.775 specification for an all ones pattern. The alarm indication signal is set to "1" if an all ones pattern (at least 99.9% ones density) is present for T, where T is 3ms to 75ms in T1 mode. AIS will clear when the ones density is not met within the same time period T. In E1 mode, the AIS is set to "1" if the incoming signal has 2 or less zeros in a 512-bit window. AIS will clear when the incoming signal has 3 or more zeros in the 512-bit window. 9.2.2 NLCD (Network Loop Code Detection) The Network Loop Code Detection can be programmed to detect a Loop-Up, Loop-Down, or Automatic Loop Code. If the network loop code detection is programmed for Loop-Up, the NLCD will be set "High" if a repeating pattern of "00001" occurs for more than 5 seconds. If the network loop code detection is programmed for Loop-Down, the NLCD will be set "High" if a repeating pattern of "001" occurs for more than 5 seconds. If the network loop code detection is programmed for automatic loop code, the LIU is configured to detect a Loop-Up code. If a Loop-Up code is detected for more than 5 seconds, the XRT86L30 will automatically program the channel into a remote loopback mode. The LIU will remain in remote loopback even if the Loop-Up code disappears. The channel will continue in remote loop back until a Loop-Down code is detected for more than 5 seconds (or, if the automatic loop code is disabled) and then automatically return to normal operation with no loop back. The process of the automatic loop code detection is shown in Figure 62.
196
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
FIGURE 62. PROCESS BLOCK FOR AUTOMATIC LOOP CODE DETECTION
No
Loop-Up Code for 5 sec?
Yes
Automatic Remote Loopback
No
Loop-Down Code for 5 sec?
Yes
Disable Remote Loopback
9.2.3 FLSD (FIFO Limit Status Detection) The purpose of the FIFO limit status is to indicate when the Read and Write FIFO pointers are within a pre-determined range (over-flow or under-flow indication). The FLSD is set to "1" if the FIFO Read and Write Pointers are within 3-Bits. 9.2.4 Receive Jitter Attenuator The receive path has a dedicated jitter attenuator to reduce phase and frequency jitter in the recovered clock. The jitter attenuator uses a data FIFO (First In First Out) with a programmable depth of 32-bit or 64-bit. If the LIU is used for line synchronization (loop timing systems), the JA should be enabled in the receive path. When the Read and Write pointers of the FIFO are within 2-Bits of over-flowing or under-flowing, the bandwidth of the jitter attenuator is widened to track the short term input jitter, thereby avoiding data corruption. When this condition occurs, the jitter attenuator will not attenuate input jitter until the Read/Write pointer's position is outside the 2-Bit window. In T1 mode, the bandwidth of the JA is always set to 3Hz. In E1 mode, the bandwidth is programmable to either 10Hz or 1.5Hz (1.5Hz automatically selects the 64-Bit FIFO depth). The JA has a clock delay equal to 1/2 of the FIFO bit depth.
NOTE: The Transmit Path has a dedicated jitter attenuator. See the Transmit Path Line Interface Section.
9.2.5 RxMUTE (Receiver LOS with Data Muting) The receive muting function can be selected by setting RxMUTE to "1" in the appropriate global register. If selected, any channel that experiences an RLOS condition will automatically pull the output of the LIU section "Low" to prevent data chattering. If RLOS does not occur, the RxMUTE will remain inactive until an RLOS on a given channel occurs. The default setting for RxMUTE is "0" which is disabled. A simplified block diagram of the RxMUTE function is shown in Figure 63.
197
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
FIGURE 63. SIMPLIFIED BLOCK DIAGRAM OF THE RXMUTE FUNCTION
REV. P1.0.1
LIU
Digital Output
Framer
RxMUTE RLOS
198
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
10.0 THE E1 TRANSMIT/RECEIVE FRAMER 10.1 DESCRIPTION OF THE TRANSMIT/RECEIVE PAYLOAD DATA INPUT INTERFACE BLOCK Each of the four framers within the XRT86L30 device includes a Transmit and Receive Payload Data Input Interface block. Although most configurations are independent for the Tx and Rx path, once E1 framing has been selected, both the Tx and Rx must operate in E1. The Payload Data Input Interface module (also known as the Back-plane Interface module) supports payload data to be taken from or presented to the system. In E1 mode, supported data rates are 2.048Mbit/s, MVIP 2.048Mbit/s, 4.096Mbit/s, 8.192Mbit/s, multiplexed 16.384Mbit/s, HMVIP 16.384Mbit/s, or H.100 16.384Mbit/s. 10.1.1 Brief Discussion of the Transmit/Receive Payload Data Input Interface Block Operating at XRT84V24 Compatible 2.048Mbit/s mode Whether or not the transmit/receive interface signals have been chosen as inputs or outputs, the overall system timing diagrams remain the same. It is the responsibility of the Terminal Equipment to provide serial input data through the TxSER pin aligned with the Transmit Single-frame Synchronization signal and the Transmit Multi-frame Synchronization signal. Figure 64 shows how to connect the Transmit Payload Data Input Interface block to local Terminal Equipment. Figure 65 shows how to connect the Receive Payload Data Output Interface to local Terminal Equipment. FIGURE 64. INTERFACING THE TRANSMIT PATH TO LOCAL TERMINAL EQUIPMENT
XRT86L30 TxSERCLK0 TxSER0 TxMSYNC0 TxSYNC0 TxCHCLK0 TxCHN[4:0]_0 Terminal Equipment Transmit Payload Data Input Interface Chn 0
199
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
FIGURE 65. INTERFACING THE RECEIVE PATH TO LOCAL TERMINAL EQUIPMENT
REV. P1.0.1
XRT86L30 RxSERCLK0 RxSER0 RxMSYNC0 RxSYNC0 RxCHCLK0 RxCHN[4:0]_0 Terminal Equipment Receive Payload Data Input Interface Chn 0
Figure 66 shows the waveforms for connecting the Transmit Payload Data Input Interface block to local Terminal Equipment. Figure 67 shows the waveforms for connecting the Receive Payload Data Input Interface block to local Terminal Equipment. FIGURE 66. WAVEFORMS FOR CONNECTING THE TRANSMIT PAYLOAD DATA INPUT INTERFACE BLOCK TO LOCAL TERMINAL EQUIPMENT
Timeslot 1 TxSERCLK TxSERCLK (INV) TxSER TxSYNC(input) If Tx Fractional E1 Input Enable = 0 TxCHCLK TxCHN[4:0] Timeslot #1 Timeslot #15 Timeslot #16 Timeslot #32 Input Data Input Data Signaling Input Data Timeslot 15 Timeslot 16 Timeslot 32
If Tx Fractional E1 Input Enable = 1 TxCHN[0]/TxSIG TxCHN[2]/TxTS TxCHCLK TxCHN[1]/TxFrTD 12345678 12345678 ABCD
c1 c2 c3 c4 c5
ABCD
c1 c2 c3 c4 c5
ABCD
c1 c2 c3 c4 c5
ABCD
c1 c2 c3 c4 c5
200
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
FIGURE 67. WAVEFORMS FOR CONNECTING THE RECEIVE PAYLOAD DATA INPUT INTERFACE BLOCK TO LOCAL TERMINAL EQUIPMENT
Timeslot 0 RxSerClk RxSer Rx Fractional Enable Bit = 0 RxSync(output) RxTSClk RxTSb[4:0] Timeslot #0 Timeslot #5 Timeslot #6 Timeslot #31 Input Data Input Data Timeslot 5 Timeslot 6 Timeslot 31
Rx Fractional Enable Bit = 1 RxTSb[0]/RxSig RxTSb[2]/RxChn RxTSClk RxTSb[1]/RxFrTD 12345678 ABCD
c1 c2 c3 c4 c5
ABCD
c1 c2 c3 c4 c5
ABCD
c1 c2 c3 c4 c5
ABCD
c1 c2 c3 c4 c5
201
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
10.2 TRANSMIT/RECEIVE HIGH-SPEED BACK-PLANE INTERFACE The High-speed Back-plane Interface supports payload data to be taken from or presented to the Terminal Equipment at different data rates. In the non-multiplexed mode, payload data of each channel are interfaced to the Terminal Equipment separately. Each channel uses its own serial clock, serial data, single-frame synchronization signal and multi-frame synchronization signals. 10.2.1 Non-Multiplexed High-Speed Mode When the Back-plane interface data rate is MVIP 2.048Mbit/s, 4.096Mbit/s and 8.192Mbit/s, the interface signals are all configured as inputs, except the receive serial data on RxSER and the multi frame sync pulse provided by the framer. The Transmit Serial Clock for each channel is always an input clock with frequency of 2.048 MHz for all data rates so that it may be used as the timing reference for the transmit line rate. The TxMSYNC signal is configured as the Transmit Input Clock with frequencies of 2.048 MHz, 4.096 MHz and 8.192 MHz respectively. It serves as the primary clock source for the High-speed Back-plane Interface. Figure 68 shows how to connect the Transmit non-multiplexed high-speed Input Interface block to local Terminal Equipment. Figure 69 shows how to connect the Receive non-multiplexed high-speed Output Interface to local Terminal Equipment. FIGURE 68. TRANSMIT NON-MULTIPLEXED HIGH-SPEED CONNECTION TO LOCAL TERMINAL EQUIPMENT USING MVIP 2.048MBIT/S, 4.096MBIT/S, OR 8.192MBIT/S
TxMSYNC = 2.048/4.096/8.192MHz XRT86L30 TxSERCLK0 TxSER0 TxMSYNC0 TxSYNC0 Terminal Equipment Transmit Payload Data Input Interface Chn 0
202
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
FIGURE 69. RECEIVE NON-MULTIPLEXED HIGH-SPEED CONNECTION TO LOCAL TERMINAL EQUIPMENT USING MVIP 2.048MBIT/S, 4.096MBIT/S, OR 8.192MBIT/S
RxMSYNC = 2.048/4.096/8.192MHz XRT86L30 RxSERCLK0 RxSER0 RxMSYNC0 RxSYNC0 Terminal Equipment Receive Payload Data Input Interface Chn 0
Figure 70 shows the waveforms for connecting the Transmit non-multiplexed high-speed Input Interface block to local Terminal Equipment. Figure 71 shows the waveforms for connecting the Receive non-multiplexed high-speed Input Interface block to local Terminal Equipment. FIGURE 70. WAVEFORMS FOR CONNECTING THE TRANSMIT NON-MULTIPLEXED HIGH-SPEED INPUT INTERFACE AT MVIP 2.048MBIT/S, 4.096MBIT/S, AND 8.192MBIT/S
TxMsync (2/4/8MHz) TxSERCLK TxSERCLK (INV) TxSER TxSync(input) TxSync(input) MVIP mode TxCHN[0]/TxSig TxSyncFrd=0 TxCHCLK TxCHN[1]/TxFrTD TxSyncFrd=1 TxCHN[1]/TxFrTD TxCHCLK Don't Care 12345678 Don't Care 12345678 Don't Care 12345678 Don't Care 12345678 Don't Care A B C D Don't Care A B C D Don't Care A B C D Don't Care A B C D Don't Care A B C D 12345678123456781234567 812345678 1234567812345678
203
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
FIGURE 71. WAVEFORMS FOR CONNECTING THE RECEIVE NON-MULTIPLEXED HIGH-SPEED INPUT INTERFACE AT MVIP 2.048MBIT/S, 4.096MBIT/S, AND 8.192MBIT/S
Timeslot 0 RxSERCLK (2/4/8MHz) RxSERCLK RxSERCLK (INV) RxSER RxSync(input) RxSync(input) MVIP mode RxCHN[0]/RxSig Don't Care A B C D Don't Care A B C D Don't Care A B C D Don't Care A B C D Don't Care A B C D 12345678123456781234567812345678 1234567812345678 Timeslot 1 Timeslot 2 Timeslot 3 Timeslot 4 Timeslot 5
RxSyncFrd=0
RxCHCLK RxCHN[1]/RxFrTD Don't Care 12345678 Don't Care 12345678
RxSyncFrd=1
RxCHN[1]/RxFrTD RxCHCLK Don't Care 12345678 Don't Care 12345678
204
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
10.2.2 Multiplexed High-Speed Mode When the Back-plane interface data rate is 16.384Mbit/s, HMVIP 16.384Mbit/s, and H.100 16.384Mbit/s, the interface signals are all configured as inputs, except the receive serial data on RxSER and the multi frame sync pulse provided by the framer. The Transmit Serial Clock for each channel is always an input clock with frequency of 2.048 MHz for all data rates so that it may be used as the timing reference for the transmit line rate. The TxMSYNC signal is configured as the Transmit Input Clock with frequency of 16.384 MHz. It serves as the primary clock source for the High-speed Back-plane Interface. Payload and signaling data of Channel 0-3 are multiplexed onto the Transmit Serial Data pin of Channel 0. Payload and signaling data of Channel 4-7 are multiplexed onto the Transmit Serial Data pin of Channel 4. The Transmit Single-frame Synchronization signal of Channel 0 pulses HIGH at the beginning of the multiplexed frame with data from Channel 0-3 multiplexed together. The Transmit Single-frame Synchronization signal of Channel 4 pulses HIGH at the beginning of the multiplexed frame with data from Channel 4-7 multiplexed together. It is the responsibility of the Terminal Equipment to align the multiplexed transmit serial data with the Transmit Single-frame Synchronization pulse. Additionally, each channel requires the local Terminal Equipment to provide a free-running 2.048 MHz clock into the Transmit Serial Clock input. The local Terminal Equipment maps four 2.048Mbit/s E1 data streams into one 16.384Mbit/s serial data stream as described below: 1. Payload data of four channels are repeated and grouped together in a bit-interleaved way. The first payload bit of Timeslot 0 of Channel 0 is sent first, followed by the first payload bit of Timeslot 0 of Channel 1 and 2. The first payload bit of Timeslot 0 of Channel 3 is sent last. After the first bit of Timeslot 0 of all four channels are sent, it comes the second bit of Timeslot 0 of Channel 0 and so on. The table below demonstrates how payload bits of four channels are mapped into the 16.384Mbit/s data stream. FIRST OCTET OF 16.384MBIT/S DATA STREAM
BIT 0 10 BIT 1 10 BIT 2 11 BIT 3 11 BIT 4 12 BIT 5 12 BIT 6 13 BIT 7 13
SECOND OCTET OF 16.384MBIT/S DATA STREAM
BIT 0 20 BIT 1 20 BIT 2 21 BIT 3 21 BIT 4 22 BIT 5 22 BIT 6 23 BIT 7 23
XY: The Xth payload bit of Channel Y 2. The local Terminal Equipment also multiplexed signaling bits with payload bits and sent them together through the 16.384Mbit/s data stream. When the Terminal Equipment is sending the fifth payload bit of one channel, instead of sending it twice, it inserts the signaling bit A of that corresponding channel. Similarly, the sixth payload bit is followed by the signaling bit B of that corresponding channel; the seventh payload bit is followed by the signaling bit C; the eighth payload bit is followed by the signaling bit D. The following table illustrates how payload bits and signaling bits are multiplexed together into the 16.384Mbit/s data stream. FIFTH OCTET OF 16.384MBIT/S DATA STREAM
BIT 0 50 BIT 1 A0 BIT 2 51 BIT 3 A1 BIT 4 52 BIT 5 A2 BIT 6 53 BIT 7 A3
205
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
SIXTH OCTET OF 16.384MBIT/S DATA STREAM
BIT 0 60 BIT 1 B0 BIT 2 61 BIT 3 B1 BIT 4 62 BIT 5 B2 BIT 6 63
REV. P1.0.1
BIT 7 B3
SEVENTH OCTET OF 16.384MBIT/S DATA STREAM
BIT 0 70 BIT 1 C0 BIT 2 71 BIT 3 C1 BIT 4 72 BIT 5 C2 BIT 6 73 BIT 7 C3
EIGHTH OCTET OF 16.384MBIT/S DATA STREAM
BIT 0 80 BIT 1 D0 BIT 2 81 BIT 3 D1 BIT 4 82 BIT 5 D2 BIT 6 83 BIT 7 D3
XY: The Xth payload bit of Channel Y AY: The signaling bit A of Channel Y 3. After the first octet of all four channels are sent, the local Terminal Equipment start sending the second octets following the same rules of Step 1 and 2. The Transmit Single-frame Synchronization signal of Channel 0 pulses HIGH for one clock cycle at the first bit position of the multiplexed data stream with data from Channel 0-3 multiplexed together. The Transmit Singleframe Synchronization signal of Channel 4 pulses HIGH for one clock cycle at the first bit position of the data stream with data from Channel 4-7 multiplexed together. By sampling the HIGH pulse on the Transmit Singleframe Synchronization signal, the framer can position the beginning of the multiplexed E1 frame. It is the responsibility of the Terminal Equipment to align the multiplexed transmit serial data with the Transmit Singleframe Synchronization pulse. Inside the framer, all the "don't care" bits will be stripped away. The framing bits, signaling and payload data are de-multiplexed inside the XRT86L30 device and send to each individual channel. These data will be processed by each individual framer and send to LIU interface. The local Terminal Equipment provides a free-running 2.048MHz clock to the Transmit Serial Input clock of each channel. The framer will use this clock to carry the processed payload and signaling data to the transmit section of the device. Figure 72 shows how to connect the Transmit multiplexed high-speed Input Interface block to local Terminal Equipment. Figure 73 shows how to connect the Receive multiplexed high-speed Output Interface to local Terminal Equipment.
206
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
FIGURE 72. INTERFACING XRT86L30 TRANSMIT TO LOCAL TERMINAL EQUIPMENT USING 16.384MBIT/S, HMVIP 16.384MBIT/S, AND H.100 16.384MBIT/S
XRT86L30 TxSER0 TxMSYNC0 (16.384MHz) TxSYNC0 TxSERCLK0 (2.048MHz) Transmit Payload Data Input Interface Chn 0
Terminal Equipment
207
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
FIGURE 73. INTERFACING XRT86L30 RECEIVE TO LOCAL TERMINAL EQUIPMENT USING 16.384MBIT/S, HMVIP 16.384MBIT/S, AND H.100 16.384MBIT/S
XRT86L30 RxSER0 Transmit RxSERCLK0 (16.384MHz) Payload Data Input RxSYNC0 Interface RxLineClk0 (2.048MHz) Chn 0
Terminal Equipment
Figure 74 shows the waveforms for connecting the Transmit multiplexed high-speed Input Interface block to local Terminal Equipment. Figure 75 shows the waveforms for connecting the Receive multiplexed high-speed
208
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
Input Interface block to local Terminal Equipment for HMVIP. Figure 76 shows the waveforms for connecting the Receive multiplexed high-speed Input Interface block to local Terminal Equipment for HMVI.100P. FIGURE 74. WAVEFORMS FOR CONNECTING THE TRANSMIT MULTIPLEXED HIGH-SPEED INPUT INTERFACE AT HMVIP AND H.100 16.384MBIT/S MODE
TxInClk (16.384MHz) TxInClk (INV)
TxSer
TxSig TxSync(input) HMVIP, negative sync TxSync(input) HMVIP, positive sync TxSync(input) H.100, negative sync TxSync(input) H.100, positive sync Delayer H.100 TxSync(input) H.100, negative sync TxSync(input) H.100, positive sync
73 73 83 83 h0 h0 h0 h0 h0 h0 h0 h 0 Start of Frame C3C3 D3 D3 1 1 1 1 1 1 1 1
56 cycles 56 cycles
10 10 20 20 3 0 30 40 40 50 50 6 0 60 12 12 52 52 5 3 5 3 63 63 73 73 8 3 8 3 Xy : X is the bit number and y is the channel number 0 0 0 0 0 0 0 0 A0 A0 B0 B0 00 A2 A2 A3 A3 B3 B3 C3 C3 D3 D3
FIGURE 75. WAVEFORMS FOR CONNECTING THE RECEIVE MULTIPLEXED HIGH-SPEED INPUT INTERFACE AT HMVIP 16.384MBIT/S MODE
RxSerClk (16.384MHz) RxSerClk (INV) RxSer
73 73 83 83 h0 h0 h1 h1 h2 h2 h3 h3 Start of Frame C3C3D3D3 1 1 1 1 1 1 1 1
56 cycles 56 cycles
10 10 20 20 30 30 40 40 50 50 60 60 0 0 0 0 0 0 0 0 A0 A0 B0 B0
12 12 00
52 52 A2 A2
53 53 63 63 73 73 83 83 A3 A3 B3 B3 C3C3D3 D3
Xy : X is the bit number and y is the channel number
RxSig RxSync(input) HMVIP, negative sync RxSync(input) HMVIP, positive sync
209
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
FIGURE 76. WAVEFORMS FOR CONNECTING THE RECEIVE MULTIPLEXED HIGH-SPEED INPUT INTERFACE AT H.100 16.384MBIT/S MODE
RxSerClk (16.384MHz) RxSerClk (INV)
RxSer
73 73 83 83 h0 h0 h1 h1 h2 h2 h3 h3 Start of Frame C3 C3D3 D3 1 1 1 1 1 1 1 1
56 cycles 56 cycles
10 10 20 20 30 30 40 40 50 50 60 60
12 12
52 52
53 53 63 63 73 73 83 83
RxSig
Xy : X is the bit number and y is the channel number 0 0 0 0 0 0 0 0 A0 A0 B0 B0 00 A2 A2 A3 A3 B3 B3 C3 C3D3 D3
RxSync(input) H.100, negative sync RxSync(input) H.100, positive sync Delayer H.100 RxSync(input) H.100, negative sync RxSync(input) H.100, positive sync
210
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
10.3 BRIEF DISCUSSION OF COMMON CHANNEL SIGNALING IN E1 FRAMING FORMAT As the name referred, Common Channel Signaling is signaling information common to all thirty voice or data channels of an E1 trunk. Time slot 16 may be used to carry Common Channel Signaling data of up to a rate of 64kbits/s. The national bits of time slot 0 may also be used for Common Channel Signaling. Since there are five national bits of time slot 0 per every two E1 frames, the total bandwidth of the national bits is 20kbits/s. The Common Channel Signaling is essentially data link information that provides performance monitoring and a transmission quality report. 10.4 BRIEF DISCUSSION OF CHANNEL ASSOCIATED SIGNALING IN E1 FRAMING FORMAT Signaling is required when dealing with voice and dial-up data services in E1 applications. Traditionally, signaling is provided on a dial-up telephone line across the talk-path. Signaling is used to tell the receiver where the call or route is destined. The signal is sent through switches along the route to a distant end. Common types of signals are: * On hook * Off hook * Dial tone * Dialed digits * Ringing cycle * Busy tone A signal is consists of four bits namely A, B, C and D. These bits define the state of the call for a particular time slot. Time slot 16 of each E1 frame can carry CAS signals for two E1 voice or data channels. Therefore, sixteen E1 frames are needed to carry CAS signals for all 32 E1 channels. The sixteen E1 frames then forms a CAS Multi-frame. 10.5 INSERT/EXTRACT SIGNALING BITS FROM TSCR REGISTER The four most significant bits of the Transmit Signaling Control Register (TSCR) of each time slot can be used to store outgoing signaling data. The user can program these bits through microprocessor access. If the XRT86L30 framer is configure to insert signaling bits from TSCR registers, the E1 Transmit Framer block will fill up the time slot 16 octet with the signaling bits stored inside the TSCR registers. The insertion of signaling bit into PCM data is done on a per-channel basis. The most significant bit (Bit 7) of TSCR register is used to store Signaling bit A. Bit 6 is used to hold Signaling bit B. Bit 5 is used to hold Signaling bit C. Bit 4 is used to hold Signaling bit D. 10.6 INSERT/EXTRACT SIGNALING BITS FROM TXCHN[0]_N/TXSIG PIN The XRT86L30 framer can be configured to insert/extract signaling bits provided by external equipment through the external signaling bus. When the Fractional E1 mode is enabled, this bus is configured as TxSIG and RxSIG. These pins act as an the signaling bus for the outbound E1 frames. Figure 77 shows a timing diagram of the TxSIG input pin. Figure 78 shows a timing diagram of the RxSIG output pin. Please note that the Signaling Bit A of a certain channel coincides with Bit 5 of the PCM data of that channel; Signaling Bit B coincides with Bit 6 of the PCM data; Signaling Bit C coincides with Bit 7 of the PCM data and Signaling Bit D coincides with Bit 8 (LSB) of the PCM data. FIGURE 77. TIMING DIAGRAM OF THE TXSIG INPUT
211
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
FIGURE 78. TIMING DIAGRAM OF THE RXSIG OUTPUT
REV. P1.0.1
10.7 ENABLE CHANNEL ASSOCIATED SIGNALING AND SIGNALING DATA SOURCE CONTROL The Transmit Signaling Control Register (TSCR) of each channel selects source of signaling data to be inserted into the outgoing E1 frame and enables Channel Associated signaling. As we mentioned before, the signaling data can be inserted from Transmit Signaling Control Registers (TSCR) of each timeslot, from the TxSig_n input pin, from the TxOH_n input pin or from the TxSer_n input pin. The Transmit Signaling Data Source Select [1:0] bits of the Transmit Signaling Control Register (TSCR) determines from which sources the signaling data is inserted from.
212
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
11.0 THE DS1 TRANSMIT/RECEIVE FRAMER 11.1 DESCRIPTION OF THE TRANSMIT/RECEIVE PAYLOAD DATA INPUT INTERFACE BLOCK Each of the four framers within the XRT86L30 device includes a Transmit and Receive Payload Data Input Interface block. Although most configurations are independent for the Tx and Rx path, once T1 framing has been selected, both the Tx and Rx must operate in T1. The Payload Data Input Interface module (also known as the Back-plane Interface module) supports payload data to be taken from or presented to the system. In T1 modes, supported data rates are 1.544Mbit/s, MVIP 2.048Mbit/s, 4.096Mbit/s, 8.192Mbit/s, multiplexed 12.352Mbit/s, 16.384Mbit/s, HMVIP 16.384Mbit/s, or H.100 16.384Mbit/s. 11.1.1 Brief Discussion of the Transmit/Receive Payload Data Input Interface Block Operating at 1.544Mbit/s mode Whether or not the transmit/receive interface signals have been chosen as inputs or outputs, the overall system timing diagrams remain the same. It is the responsibility of the Terminal Equipment to provide serial input data through the TxSER pin aligned with the Transmit Single-frame Synchronization signal and the Transmit Multi-frame Synchronization signal. Figure 79 shows how to connect the Transmit Payload Data Input Interface block to local Terminal Equipment. Figure 80 shows how to connect the Receive Payload Data Output Interface to local Terminal Equipment. FIGURE 79. INTERFACING THE TRANSMIT PATH TO LOCAL TERMINAL EQUIPMENT
XRT86L30 TxSERCLK0 TxSER0 TxMSYNC0 TxSYNC0 TxCHCLK0 TxCHN[4:0]_0 Terminal Equipment Transmit Payload Data Input Interface Chn 0
213
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
FIGURE 80. INTERFACING THE RECEIVE PATH TO LOCAL TERMINAL EQUIPMENT
REV. P1.0.1
XRT86L30 RxSERCLK0 RxSER0 RxMSYNC0 RxSYNC0 RxCHCLK0 RxCHN[4:0]_0 Terminal Equipment Receive Payload Data Input Interface Chn 0
Figure 81 shows the waveforms for connecting the Transmit Payload Data Input Interface block to local Terminal Equipment. Figure 82 shows the waveforms for connecting the Receive Payload Data Input Interface block to local Terminal Equipment. FIGURE 81. WAVEFORMS FOR CONNECTING THE TRANSMIT PAYLOAD DATA INPUT INTERFACE BLOCK TO LOCAL TERMINAL EQUIPMENT
TxSerClk (1.544MHz) TxSerClk (INV) TxSer TxSync(input) If Tx Fractional Input Enbale = 0 TxTSClk TxTSb[4:0] Timeslot #0 Timeslot #5 Timeslot #6 Timeslot #23 F Input Data Input Data Input Data Input Data F Timeslot 0 Timeslot 5 Timeslot 6 Timeslot 23
If Tx Fractional Input Enbale = 1 TxTSb[0]/TxSig TxTSb[2]/TxTS TxTSb[4:0] TxTSb[1]/TxFrTD 12345678 12345678 ABCD
c1 c2 c3 c4 c5
ABCD
c1 c2 c3 c4 c5
ABCD
c1 c2 c3 c4 c5
ABCD
c1 c2 c3 c4 c5
214
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
FIGURE 82. WAVEFORMS FOR CONNECTING THE RECEIVE PAYLOAD DATA INPUT INTERFACE BLOCK TO LOCAL TERMINAL EQUIPMENT
Timeslot 0 RxSerClk RxSer RxSync(output) Rx Fractional Enable Bit = 0 RxTSClk RxTSb[4:0] Timeslot #0 Timeslot #5 Timeslot #6 Timeslot #23 F Input Data Input Data Timeslot 5 Timeslot 6 Timeslot 23
Rx Fractional Enable Bit = 1 RxTSb[0]/RxSig RxTSb[2]/RxTS RxTSClk RxTSb[1]/RxFrTD 12345678 ABCD
c1 c2 c3 c4 c5
ABCD
c1 c2 c3 c4 c5
ABCD
c1 c2 c3 c4 c5
ABCD
c1 c2 c3 c4 c5
215
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
11.2 TRANSMIT/RECEIVE HIGH-SPEED BACK-PLANE INTERFACE The High-speed Back-plane Interface supports payload data to be taken from or presented to the Terminal Equipment at different data rates. In the non-multiplexed mode, payload data of each channel are interfaced to the Terminal Equipment separately. Each channel uses its own serial clock, serial data, single-frame synchronization signal and multi-frame synchronization signals. 11.2.1 T1 Transmit/Receive Interface - MVIP 2.048 MHz The Back-plane interface is processing data at an E1 equivalent data rate of 2.048Mbit/s. The local Terminal Equipment should pump in data grouped in 256-bit frame 8000 times every second. Each frame consists of thirty-two octets as in E1. The local Terminal Equipment maps a 193-bit T1 frame into this 256-bit format as described below: 1. The Framing (F-bit) is mapped into MSB of the first E1 Time-slot. The local Terminal Equipment will stuff the other seven bits of the first octet with don't care bits that would be ignored by the framer. 2. Payload data of T1 Time-slot 0, 1 and 2 are mapped into E1 Time-slot 1, 2 and 3. 3. The local Terminal Equipment will stuff E1 Time-slot 4 with eight don't care bits that would be ignored by the framer. 4. Following the same rules of Step 2 and 3, the local Terminal Equipment maps every three time-slots of T1 payload data into four E1 time-slots. The mapping of T1 frame into E1 framing format is shown in the table below. TABLE 174: THE MAPPING OF T1 FRAME INTO E1 FRAMING FORMAT
T1 E1 T1 E1 T1 E1 T1 E1 F-Bit TS0 Don't Care Bits TS8 Don't Care Bits TS16 Don't Care Bits TS24 TS0 TS1 TS6 TS9 TS12 TS17 TS18 TS25 TS1 TS2 TS7 TS10 TS13 TS18 TS19 TS26 TS2 TS3 TS8 TS11 TS14 TS19 TS20 TS27 Don't Care Bits TS4 Don't Care Bits TS12 Don't Care Bits TS20 Don't Care Bits TS28 TS3 TS5 TS9 TS13 TS15 TS21 TS21 TS29 TS4 TS6 TS10 TS14 TS16 TS22 TS22 TS30 TS5 TS7 TS11 TS15 TS17 TS23 TS23 TS31
216
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
11.2.2 Non-Multiplexed High-Speed Mode When the Back-plane interface data rate is MVIP 2.048Mbit/s, 4.096Mbit/s and 8.192Mbit/s, the interface signals are all configured as inputs, except the receive serial data on RxSER and the multi frame sync pulse provided by the framer. The Transmit Serial Clock for each channel is always an input clock with frequency of 1.544 MHz for all data rates so that it may be used as the timing reference for the transmit line rate. The TxMSYNC signal is configured as the Transmit Input Clock with frequencies of 2.048 MHz, 4.096 MHz and 8.192 MHz respectively. It serves as the primary clock source for the High-speed Back-plane Interface. Figure 83 shows how to connect the Transmit non-multiplexed high-speed Input Interface block to local Terminal Equipment. Figure 84 shows how to connect the Receive non-multiplexed high-speed Output Interface to local Terminal Equipment. FIGURE 83. TRANSMIT NON-MULTIPLEXED HIGH-SPEED CONNECTION TO LOCAL TERMINAL EQUIPMENT USING MVIP 2.048MBIT/S, 4.096MBIT/S, OR 8.192MBIT/S
TxMSYNC = 2.048/4.096/8.192MHz XRT86L30 TxSERCLK0 TxSER0 TxMSYNC0 TxSYNC0 Terminal Equipment Transmit Payload Data Input Interface Chn 0
FIGURE 84. RECEIVE NON-MULTIPLEXED HIGH-SPEED CONNECTION TO LOCAL TERMINAL EQUIPMENT USING MVIP 2.048MBIT/S, 4.096MBIT/S, OR 8.192MBIT/S
RxMSYNC = 2.048/4.096/8.192MHz XRT86L30 RxSERCLK0 RxSER0 RxMSYNC0 RxSYNC0 Terminal Equipment Receive Payload Data Input Interface Chn 0
217
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
Figure 85 shows the waveforms for connecting the Transmit non-multiplexed high-speed Input Interface block to local Terminal Equipment. Figure 86 shows the waveforms for connecting the Receive non-multiplexed high-speed Input Interface block to local Terminal Equipment. FIGURE 85. WAVEFORMS FOR CONNECTING THE TRANSMIT NON-MULTIPLEXED HIGH-SPEED INPUT INTERFACE AT MVIP 2.048MBIT/S, 4.096MBIT/S, AND 8.192MBIT/S
TxMSYNC (2/4/8MHz) TxSERCLK (1.5 MHz) TxSERCLK (INV) TxSER TxSYNC(input) TxCHN[0]/TxSig Don't Care A B C D Don't Care A B C D Don't Care A B C D Don't Care
Don't Care
F
Don't Care
123456781234567812345678
Don't care
12345678
ABCD
Note: The following signals are not aligned with the signals shown above. The TxTSClk is derived from 1.544MHz transmit clock. TxCHCLK(INV) TxCHN[1]/TxFrTD Don't Care 12345678 Don't Care 12345678
FIGURE 86. WAVEFORMS FOR CONNECTING THE RECEIVE NON-MULTIPLEXED HIGH-SPEED INPUT INTERFACE AT MVIP 2.048MBIT/S, 4.096MBIT/S, AND 8.192MBIT/S
RxSERCLK (2/4/8MHz) RxSER RxSYNC(input) RxCHN[0]/RxSig Don't Care A B C D Don't Care A B C D Don't Care A B C D Don't care
Don't Care
F
Don't Care
123456781234567812345678
Don't care
12345678
ABCD
Note: The following signals are not aligned with the signals shown above. The RxTSClk is derived from 1.544MHz transmit clock.
RxCHCLK(INV) RxCHN[1]/RxFrTD Don't Care 12345678 Don't Care 12345678
218
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
11.2.3 Multiplexed High-Speed Mode When the Back-plane interface data rate is 12.352Mbit/s, 16.384Mbit/s, HMVIP 16.384Mbit/s, and H.100 16.384Mbit/s, the interface signals are all configured as inputs, except the receive serial data on RxSER and the multi frame sync pulse provided by the framer. The Back-plane Interface is processing data through TxSER0 or TxSER4 pins at 12.352Mbit/s or 16.384Mbit/s. The local Terminal Equipment multiplexes payload and signaling data of every four channels into one serial data stream. Payload and signaling data of Channel 0-3 are multiplexed onto the Transmit Serial Data pin of Channel 0. Payload and signaling data of Channel 4-7 are multiplexed onto the Transmit Serial Data pin of Channel 4. Free-running clocks of 12.352MHz are supplied to the Transmit Input Clock pin of Channel 0 and Channel 4 of the framer. The local Terminal Equipment provides multiplexed payload data at rising edge of this Transmit Input Clock. The Transmit High-speed Back-plane Interface of the framer then latches incoming serial data at falling edge of the clock. The local Terminal Equipment maps four 1.544Mbit/s DS1 data streams into one 12.352Mbit/s serial data stream as described below: 1. The F-bit of four channels are repeated and grouped together to form the first octet of the multiplexed data stream. The F-bit of Channel 0 is sent first, followed by F-bit of Channel 1 and 2. The F-bit of Channel 3 is sent last. The table below shows bit-pattern of the first octet. FIRST OCTET OF 12.352MBIT/S DATA STREAM
BIT 0 F0 BIT 1 F0 BIT 2 F1 BIT 3 F1 BIT 4 F2 BIT 5 F2 BIT 6 F3 BIT 7 F3
FX: F-bit of Channel X 2. Payload data of four channels are repeated and grouped together in a bit-interleaved way. The first payload bit of Timeslot 0 of Channel 0 is sent first, followed by the first payload bit of Timeslot 0 of Channel 1 and 2. The first payload bit of Timeslot 0 of Channel 3 is sent last. After the first bits of Timeslot 0 of all four channels are sent, it comes the second bit of Timeslot 0 of Channel 0 and so on. The table below demonstrates how payload bits of four channels are mapped into the 12.352Mbit/s data stream. SECOND OCTET OF 12.352MBIT/S DATA STREAM
BIT 0 10 BIT 1 10 BIT 2 11 BIT 3 11 BIT 4 12 BIT 5 12 BIT 6 13 BIT 7 13
THIRD OCTET OF 12.352MBIT/S DATA STREAM
BIT 0 20 BIT 1 20 BIT 2 21 BIT 3 21 BIT 4 22 BIT 5 22 BIT 6 23 BIT 7 23
XY: The Xth payload bit of Channel Y 3. The local Terminal Equipment also multiplexes signaling bits with payload bits and sends them together through the 12.352Mbit/s data stream. When the Terminal Equipment is sending the fifth payload bit of each channel, instead of sending it twice, it inserts the signaling bit A of that corresponding channel. Similarly, the sixth payload bit of a each channel is followed by the signaling bit B of that channel; the seventh payload bit is followed by the signaling bit C; the eighth payload bit is followed by the signaling bit D.
219
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
The following table illustrates how payload bits and signaling bits are multiplexed together into the 12.352Mbit/ s data stream. SIXTH OCTET OF 12.352MBIT/S DATA STREAM
BIT 0 50 BIT 1 A0 BIT 2 51 BIT 3 A1 BIT 4 52 BIT 5 A2 BIT 6 53 BIT 7 A3
SEVENTH OCTET OF 12.352MBIT/S DATA STREAM
BIT 0 60 BIT 1 B0 BIT 2 61 BIT 3 B1 BIT 4 62 BIT 5 B2 BIT 6 63 BIT 7 B3
EIGHTH OCTET OF 12.352MBIT/S DATA STREAM
BIT 0 70 BIT 1 C0 BIT 2 71 BIT 3 C1 BIT 4 72 BIT 5 C2 BIT 6 73 BIT 7 C3
NINTH OCTET OF 12.352MBIT/S DATA STREAM
BIT 0 80 BIT 1 D0 BIT 2 81 BIT 3 D1 BIT 4 82 BIT 5 D2 BIT 6 83 BIT 7 D3
XY: The Xth payload bit of Channel Y AY: The signaling bit A of Channel Y 4. Following the same rules of Step 2 and 3, the local Terminal Equipment continues to map the payload data and signaling data of four channels into a 12.352Mbit/s data stream. The Transmit Single-frame Synchronization signal of Channel 0 pulses HIGH for one clock cycle at the first bit position (F-bit of channel 0) of the multiplexed data stream with data from Channel 0-3 multiplexed together. The Transmit Single-frame Synchronization signal of Channel 4 pulses HIGH for one clock cycle at the first bit position (F-bit of Channel 4) of the data stream with data from Channel 4-7 multiplexed together. By sampling the HIGH pulse on the Transmit Single-frame Synchronization signal, the framer can position the beginning of the multiplexed DS1 frame. It is responsibility of the Terminal Equipment to align the multiplexed transmit serial data with the Transmit Single-frame Synchronization pulse. Inside the framer, all the "don't care" bits will be stripped away. The framing bits, signaling and payload data are de-multiplexed inside the XRT86L30 and sent to each individual channel. These data will be processed by each individual framer and send to the LIU interface. The local Terminal Equipment provides a free-running 1.544MHz clock to the Transmit Serial Input clock of each channel. The framer will use this clock to carry the processed payload and signaling data to the transmit section of the device. Figure 87 shows how to connect the Transmit multiplexed high-speed Input Interface block to local Terminal Equipment. Figure 88 shows how to connect the Receive multiplexed high-speed Output Interface to local Terminal Equipment.
220
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
FIGURE 87. INTERFACING XRT86L30 TRANSMIT TO LOCAL TERMINAL EQUIPMENT USING 16.384MBIT/S, HMVIP 16.384MBIT/S, AND H.100 16.384MBIT/S
XRT86L30 TxSER0 TxMSYNC0 (12/16MHz) TxSYNC0 TxSERCLK0 (2.048MHz) Transmit Payload Data Input Interface Chn 0
Terminal Equipment
221
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
FIGURE 88. INTERFACING XRT86L30 RECEIVE TO LOCAL TERMINAL EQUIPMENT USING 16.384MBIT/S, HMVIP 16.384MBIT/S, AND H.100 16.384MBIT/S
XRT86L30 RxSER0 RxSERCLK0 (12/16MHz) RxSYNC0 RxLineClk0 (2.048MHz) Transmit Payload Data Input Interface Chn 0
Terminal Equipment
Figure 89 shows the waveforms for connecting the Transmit multiplexed high-speed Input Interface block to local Terminal Equipment at 12.352Mbit/s. Figure 91 shows the waveforms for connecting the Transmit multiplexed high-speed Input Interface block to local Terminal Equipment for 16.384Mbit/s. Figure 95 shows the waveforms for connecting the Transmit multiplexed high-speed Input Interface block to local Terminal Equipment for HMVIP and H.100. Figure 92 shows the waveforms for connecting the Receive multiplexed highspeed Input Interface block to local Terminal Equipment for 12.352MHz. Figure 93 shows the waveforms for connecting the Receive multiplexed high-speed Input Interface block to local Terminal Equipment for 16.384MHz. Figure 94 shows the waveforms for connecting the Receive multiplexed high-speed Input Interface block to local Terminal Equipment for HMVIP 16.384MHz. Figure 95 shows the waveforms for connecting the Receive multiplexed high-speed Input Interface block to local Terminal Equipment for H.100 16.384MHz. FIGURE 89. WAVEFORMS FOR CONNECTING THE TRANSMIT MULTIPLEXED HIGH-SPEED INPUT INTERFACE AT 12.352MBIT/S MODE
TxInClk (12.352MHz) TxInClk (INV) TxSer TxSync(input) F0 F0 F1 F1 F2 F2 F3 F3 10 X 11 X 12 X 13 X 20 X 21 X 30 X 40 X 50 A0 51 A1 52 A2 53 A3 60 B0 61 B1 62 B2 63 B3
222
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
FIGURE 90. WAVEFORMS FOR CONNECTING THE TRANSMIT MULTIPLEXED HIGH-SPEED INPUT INTERFACE AT 16.384MBIT/S MODE
TxInClk (16.384MHz) TxInClk (INV) TxSer TxSync(input) F0 F0 F1 F1 F2 F2 F3 F3 56 cycles 10 X 11 X 12 X 13 X 20 X 21 X 30 X 40 X 50 A0 51 A1 52 A2 53 A3
. FIGURE 91. WAVEFORMS FOR CONNECTING THE TRANSMIT MULTIPLEXED HIGH-SPEED INPUT INTERFACE AT HMVIP AND H.100 16.384MBIT/S MODE
TxInClk (16.384MHz) TxInClk (INV)
TxSer
73 73 83 83 F0 F0 F0 F0 F0 F0 F0 F0 Start of Frame C3C3 D3 D3 1 1 1 1 1 1 1 1
56 cycles 56 cycles
TxSig TxSync(input) HMVIP, negative sync TxSync(input) HMVIP, positive sync TxSync(input) H.100, negative sync TxSync(input) H.100, positive sync Delayer H.100 TxSync(input) H.100, negative sync TxSync(input) H.100, positive sync
10 10 20 20 30 30 40 40 50 50 60 60 12 12 52 52 53 53 63 63 73 73 83 83 Xy : X is the bit number and y is the channel number 0 0 0 0 0 0 0 0 A0 A0 B0 B0 00 A2 A2 A3 A3 B3 B3 C3 C3 D3 D3
FIGURE 92. WAVEFORMS FOR CONNECTING THE RECEIVE MULTIPLEXED HIGH-SPEED INPUT INTERFACE AT 12.352MBIT/S MODE
RxSerClk (12.352MHz) RxSerClk (INV) RxSer RxSync(input) F0 F0 F1 F1 F2 F2 F3 F3 10 X 11 X 12 X 13 X 20 X 21 X 30 X 40 X 50 A0 51 A1 52 A2 53 A3 60 B0 61 B1 62 B2 63 B3
223
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
FIGURE 93. WAVEFORMS FOR CONNECTING THE RECEIVE MULTIPLEXED HIGH-SPEED INPUT INTERFACE AT 16.384MBIT/S MODE
RxSerClk (16.384MHz) RxSerClk (INV) RxSer RxSync(input) F0 F0 F1 F1 F2 F2 F3 F3 56 cycles 10 X 11 X 12 X 13 X 20 X 21 X 30 X 40 X 50 A0 51 A1 52 A2 53 A3
FIGURE 94. WAVEFORMS FOR CONNECTING THE RECEIVE MULTIPLEXED HIGH-SPEED INPUT INTERFACE AT HMVIP 16.384MBIT/S MODE
RxSerClk (16.384MHz) RxSerClk (INV) RxSer
73 73 83 83 F0 F0 F1 F1 F2 F2 F3 F3 Start of Frame C3C3 D3 D3 1 1 1 1 1 1 1 1
56 cycles 56 cycles
10 10 20 20 30 30 40 40 50 50 60 60
12 12
52 52
53 53 63 63 73 73 83 83
RxSig RxSync(input) HMVIP, negative sync RxSync(input) HMVIP, positive sync
Xy : X is the bit number and y is the channel number 0 0 0 0 0 0 0 0 A0 A0 B0 B0 00 A2 A2 A3 A3 B3 B3 C3 C3D3 D3
FIGURE 95. WAVEFORMS FOR CONNECTING THE RECEIVE MULTIPLEXED HIGH-SPEED INPUT INTERFACE AT H.100 16.384MBIT/S MODE
RxSerClk (16.384MHz) RxSerClk (INV)
RxSer
73 73 83 83 F0 F0 F1 F1 F2 F2 F3 F3 Start of Frame C3 C3 D3 D3 1 1 1 1 1 1 1 1
56 cycles 56 cycles
10 10 20 20 30 30 40 40 50 50 60 60
12 12
52 52
53 53 63 63 73 73 83 83
RxSig
Xy : X is the bit number and y is the channel number 0 0 0 0 0 0 0 0 A0 A0 B0 B0 00 A2 A2 A3 A3 B3 B3 C3 C3 D3 D3
RxSync(input) H.100, negative sync RxSync(input) H.100, positive sync Delayer H.100 RxSync(input) H.100, negative sync RxSync(input) H.100, positive sync
224
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
11.3 BRIEF DISCUSSION OF ROBBED-BIT SIGNALING IN DS1 FRAMING FORMAT Signaling is required when dealing with voice and dial-up data services in DS1 applications. Traditionally, signaling is provided on a dial-up telephone line, across the talk-path. Bit robbing, or stealing the least significant bit (8th bit) in each of the twenty-four voice channels in the signaling frames allows enough bits to signal between the transmitting and receiving end. That is where the name Robbed-bit signaling comes from. These ends can be CPE to central office (CO) for switched services, or CPE to CPE for PBX-to-PBX connections. Signaling is used to tell the receiver where the call or route is destined. The signal is sent through switches along the route to a distant end. Common types of signals are: * On hook * Off hook * Dial tone * Dialed digits * Ringing cycle * Busy tone Robbed-bit Signaling is supported in three DS1 framing formats. * Super-Frame (SF) * SLC(R)96 * Extended Super-Frame (ESF) In Super-Frame or SLC(R)96 framing mode, frame number 6 and frame number 12 are signaling frames. In channelized DS1 applications, these frames are used to contain the signaling information. In frame number 6 and 12, the least significant bit of all twenty-four timeslots is 'robbed' to carry call state information. The bit in frame 6 is called the A bit and the bit in frame 12 is called the B bit. The combination of A and B defines the state of the call for the particular timeslot that these two bits are located in.
FRAME NUMBER 6 12 SIGNALING BIT A B
In Extended Super-Frame framing mode, frame number 6, 12, 18 and 24 are signaling frames. In these frames, the least significant bit of all twenty-four timeslots is 'robbed' to carry call state information. The bit in frame 6 is called the A bit, the bit in frame 12 is called the B bit, the bit in frame 18 is called the C bit and the bit in frame 24 is called the D bit. The combination of A, B, C and D defines the state of the call for the particular timeslot that these signaling bits are located in.
FRAME NUMBER 6 12 18 24 SIGNALING BIT A B C D
11.3.1 Configure the framer to transmit Robbed-bit Signaling The XRT86L30 framer supports transmission of Robbed-bit Signaling in ESF, SF and SLC(R)96 framing formats. Signaling bits can be inserted into the outgoing DS1 frame through the following: * Signaling data is inserted from Transmit Signaling Control Registers (TSCR) of each timeslot * Signaling data is inserted from TxSig_n pin * Signaling data is embedded into the input PCM data coming from the Terminal Equipment 11.3.2 Insert Signaling Bits from TSCR Register
225
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
The four most significant bits of the Transmit Signaling Control Register (TSCR) of each timeslot can be used to store outgoing signaling data. The user can program these bits through the microprocessor access. If the XRT86L30 framer is configured to insert signaling bits from the TSCR registers, the DS1 Transmit Framer block will strip off the least significant bits of each time slot in the signaling frames and replace it with the signaling bit stored inside the TSCR registers. The insertion of signaling bits into PCM data is done on a per-channel basis. In SF or SLC(R)96 mode, the user can control the XRT86L30 framer to transmit no signaling (transparent), twocode signaling, or four-code signaling. Two-code signaling is done by substituting the least significant bit (LSB) of the specific channel in frame 6 and 12 with the content of the Signaling bit A of the specific TSCR register. Four-code signaling is done by substituting the LSB of channel data in frame 6 with the Signaling bit A and the LSB of channel data in frame 12 with the Signaling bit B of the specific channel's TSCR register. If sixteen-code signaling is selected in SF format, only the Signaling bit A and Signaling bit B information are used. In ESF mode, the user can control the XRT86L30 framer to transmit no signaling (transparent) by disable signaling insertion, two-code signaling, four-code signaling or sixteen code signaling. Two-code signaling is done by substituting the least significant bit (LSB) of the specific channel in frame 6, 12, 18 and 24 with the content of the Signaling bit A of the specific TSCR register. Four-code signaling is done by substituting the LSB of channel data in frame 6 and frame 18 with the Signaling bit A and the LSB of channel data in frame 12 and frame 24 with the Signaling bit B of the specific channel's TSCR register. Sixteen-code signaling is implemented by substituting the LSB of channel data in frames 6, 12, 18, and 24 with the content of Signaling bit A, B, C, and D of TSCR register respectively. In N or T1DM modes, no robbed-bit signaling is allowed and the transmit data stream remains intact. The table below shows the four most significant bits of the Transmit Signaling Control Register. TRANSMIT SIGNALING CONTROL REGISTER (TSCR) (ADDRESS = 0X0340H - 0X0357H)
BIT NUMBER 7 6 5 4 BIT NAME Signaling Bit A Signaling Bit B Signaling Bit C Signaling Bit D BIT TYPE R/W R/W R/W R/W BIT DESCRIPTION This bit is used to store Signaling Bit A that is sent as the least significant bit of timeslot of frame number 6. This bit is used to store Signaling Bit B that is sent as the least significant bit of timeslot of frame number 12. This bit is used to store Signaling Bit C that is sent as the least significant bit of timeslot of frame number 18. This bit is used to store Signaling Bit D that is sent as the least significant bit of timeslot of frame number 24.
11.3.3 Insert Signaling Bits from TxSig_n Pin The XRT86L30 framer can be configured to insert signaling bits provided by external equipment through the TxSig_n pins. This pin is a multiplexed I/O pin with two functions: * TxCHN[0]_n - Transmit Timeslot Number Bit [0] Output pin * TxSig_n - Transmit Signaling Input pin When the Transmit Fractional DS1 bit of the Transmit Interface Control Register (TICR) is set to 0, this pin is configured as TxTSb[0]_n pin, it outputs bit 0 of the timeslot number of the DS1 PCM data that is transmitting. When the Transmit Fractional DS1 bit of the Transmit Interface Control Register (TICR) is set to 1, this pin is configured as TxSig_n pin, it acts as an input source for the signaling bits to be transmitted in the outbound DS1 frames.
226
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
Figure 96 below is a timing diagram of the TxSig_n input pin. Please note that the Signaling Bit A of a certain timeslot coincides with Bit 4 of the PCM data; Signaling Bit B coincides with Bit 5 of the PCM data; Signaling Bit C coincides with Bit 6 of the PCM data and Signaling Bit D coincides with Bit 7 (LSB) of the PCM data.
FIGURE 96. TIMING DIAGRAM OF THE TXSIG_N INPUT
The table below shows configurations of the Transmit Fractional DS1 bit of the Transmit Interface Control Register (TICR). TRANSMIT INTERFACE CONTROL REGISTER (TICR)(ADDRESS = 0X0120H)
BIT NUMBER 4 BIT NAME Transmit Fractional DS1 BIT TYPE R/W BIT DESCRIPTION This READ/WRITE bit-field permits the user to determine which one of the two functions the multiplexed I/O pin of TxTSb[0]_n/TxSig_n is spotting. 0 - This pin is configured as TxTSb[0]_n pin, it outputs bit 0 of the timeslot number of the DS1 PCM data that is transmitting. 1 - This pin is configured as TxSig_n pin, it acts as an input source for the signaling bits to be transmitted in the outbound DS1 frames
227
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
12.0 ALARMS AND ERROR CONDITIONS The XRT86L30 T1/J1/E1 quad Framer can be configured to monitor quality of received DS1 frames. It can generate error indicators if the local receive framer has received error frames from the remote terminal. If corresponding interrupt is enabled, the local microprocessor operation is interrupted by these error conditions. Upon microprocessor interruption, the user can intervene by looking into the error conditions. At the same time, the user can configure the XRT86L30 framer to transmit alarms and error indications to remote terminal. Different alarms and error indications will be transmitted depending on the error condition. The section below gives a brief discussion of the error conditions that can be detected by the XRT86L30 framer and error indications that will be generated. 12.1 AIS ALARM As we discussed before, transmission of Alarm Indication Signal (AIS) or Blue Alarm by the intermediate node indicates that the equipment is still functioning but unable to offer services. It is an all ones (except for framing bits) pattern which can be used by the equipment further down the line to maintain clock recovery and timing synchronization. The XRT86L30 framer can detect two types of AIS in DS1 mode: * Framed AIS * Unframed AIS Unframed AIS is an all ones pattern. If unframed AIS is sent, the equipment further down the line will be able to maintain timing synchronization and be able to recover clock from the received AIS signal. However, due to the lack of framing bits, the equipment farther down the line will not be able to maintain frame synchronization and will declare Loss of Frame (LOF). On the other hand, the payload portion of a framed AIS pattern is all ones. However, a framed AIS pattern still has correct framing bits. Therefore, the equipment further down the line can still maintain frame synchronization as well as timing synchronization. In this case, no LOF or Red alarm will be declared. The Alarm indication logic within the Receive Framer block of the XRT86L30 framer monitors the incoming DS1 frames for AIS. AIS alarm condition are detected and declared according to the following procedure: 1. The incoming DS1 frames are monitored for AIS detection. AIS detection is defined as an unframed or framed pattern with less than three zeros in two consecutive frames. 2. An AIS detection counter within the Receive Framer block of the XRT86L30 counts the occurrences of AIS detection over a 6 ms interval. It will indicate a valid AIS flag when twenty-two or more of a possible twentyfour AIS are detected. 3. Each 6 ms interval with a valid AIS flag increments a flag counter which declares AIS alarm when 255 valid flags have been collected. Therefore, AIS condition has to be persisted for 1.53 seconds before AIS alarm condition is declared by the XRT86L30 framer. If there is no valid AIS flag over a 6ms interval, the Alarm indication logic will decrement the flag counter. The AIS alarm is removed when the counter reaches 0. That is, AIS alarm will be removed if over 1.53 seconds, there is no valid AIS flag. The Alarm Indication Signal Detection Select bits of the Alarm Generation Register (AGR) enable the two types of AIS detection that are supported by the XRT86L30 framer. The table below shows configurations of the Alarm Indication Signal Detection Select bits of the Alarm Generation Register (AGR). ALARM GENERATION REGISTER (AGR) (ADDRESS = 0X0108H)
BIT NUMBER 1-0 BIT NAME AIS Detection Select BIT TYPE R/W BIT DESCRIPTION 00 - AIS alarm detection is disabled.When this bit is set to 01:Detection of unframed AIS alarm of all ones pattern is enabled. 10 - AIS alarm detection is disabled.When this bit is set to 00:Detection of framed AIS alarm of all ones pattern except for framing bits is enabled.
228
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
If detection of unframed or framed AIS alarm is enabled by the user and if AIS is present in the incoming DS1 frame, the XRT86L30 framer can generate a Receive AIS State Change interrupt associated with the setting of Receive AIS State Change bit of the Alarm and Error Status Register to one. To enable the Receive AIS State Change interrupt, the Receive AIS State Change Interrupt Enable bit of the Alarm and Error Interrupt Enable Register (AEIER) have to be set to one. In addition, the Alarm and Error Interrupt Enable bit of the Block Interrupt Enable Register (BIER) needs to be one. The table below shows configurations of the Receive AIS State Change Interrupt Enable bit of the Alarm and Error Interrupt Enable Register (AEIER). ALARM AND ERROR INTERRUPT ENABLE REGISTER (AEIER) (ADDRESS = 0X0B03H)
BIT NUMBER 1 BIT NAME Receive AIS State Change Interrupt Enable BIT TYPE R/W BIT DESCRIPTION 0 - The Receive AIS State Change interrupt is disabled. 1 - The Receive AIS State Change interrupt is enabled.
The table below shows configurations of the Alarm and Error Interrupt Enable bit of the Block Interrupt Enable Register. BLOCK INTERRUPT ENABLE REGISTER (BIER) (ADDRESS = 0X0B01H)
BIT NUMBER 1 BIT NAME Alarm and Error Interrupt Enable BIT TYPE R/W BIT DESCRIPTION 0 - Every interrupt generated by the Alarm and Error Interrupt Status Register (AEISR) is disabled. 1 - Every interrupt generated by the Alarm and Error Interrupt Status Register (AEISR) is enabled.
When these interrupt enable bits are set and AIS is present in the incoming DS1 frame, the XRT86L30 framer will declare AIS by doing the following: * Set the read-only Receive AIS State bit of the Alarm and Error Status Register (AESR) to one indicating there is AIS alarm detected in the incoming DS1 frame. * Set the Receive AIS State Change bit of the Alarm and Error Status Register to one indicating there is a change in state of AIS. This status indicator is valid until the Framer Interrupt Status Register is read. Reading this register clears the associated interrupt if Reset-Upon-Read is selected in Interrupt Control Register (ICR). Otherwise, a write-to-clear operation by the microprocessor is required to reset these status indicators. The table below shows the Receive AIS State Change status bits of the Alarm and Error Status Register. ALARM AND ERROR STATUS REGISTER (AESR) (ADDRESS = 0X0B02H)
BIT NUMBER 1 BIT NAME Receive AIS State Change BIT TYPE RUR / WC BIT DESCRIPTION 0 - There is no change of AIS state in the incoming DS1 payload data. 1 - There is change of AIS state in the incoming DS1 payload data.
The Receive AIS State bit of the Alarm and Error Status Register (AESR), on the other hand, is a read-only bit indicating there is AIS alarm detected in the incoming DS1 frame.
229
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
The table below shows the Receive AIS State status bits of the Alarm and Error Status Register. ALARM AND ERROR STATUS REGISTER (AESR) (ADDRESS = 0X0B02H)
BIT NUMBER 6 BIT NAME Receive AIS State BIT TYPE R BIT DESCRIPTION
REV. P1.0.1
0 - There is no AIS alarm condition detected in the incoming DS1 payload data. 1 - There is AIS alarm condition detected in the incoming DS1 payload data.
12.2 RED ALARM The Alarm indication logic within the Receive Framer block of the XRT86L30 framer monitors the incoming DS1 frames for red alarm or Loss of Frame (LOF) condition. Red alarm condition are detected and declared according to the following procedure: 1. The red alarm is detected by monitoring the occurrence of Loss of Frame (LOF) over a 6 ms interval. 2. An LOF valid flag will be posted on the interval when one or more LOF occurred during the interval. 3. Each interval with a valid LOF flag increments a flag counter which declares RED alarm when 63 valid intervals have been accumulated. 4. An interval without valid LOF flag decrements the flag counter. The Red alarm is removed when the counter reaches zero. If LOF condition is present in the incoming DS1 frame, the XRT86L30 framer can generate a Receive Red Alarm State Change interrupt associated with the setting of Receive Red Alarm State Change bit of the Alarm and Error Status Register to one. To enable the Receive Red Alarm State Change interrupt, the Receive Red Alarm State Change Interrupt Enable bit of the Alarm and Error Interrupt Enable Register (AEIER) has to be set to one. In addition, the Alarm and Error Interrupt Enable bit of the Block Interrupt Enable Register (BIER) needs to be one. The table below shows configurations of the Receive Red Alarm State Change Interrupt Enable bit of the Alarm and Error Interrupt Enable Register (AEIER). ALARM AND ERROR INTERRUPT ENABLE REGISTER (AEIER) (ADDRESS = 0X0B03H)
BIT NUMBER 2 BIT NAME Receive Red Alarm State Change Interrupt Enable BIT TYPE R/W BIT DESCRIPTION 0 - The Receive Red Alarm State Change interrupt is disabled. No Receive Loss of Frame (RxLOF) interrupt will be generated upon detection of LOF condition. 1 - The Receive Red Alarm State Change interrupt is enabled. Receive Loss of Frame (RxLOF) interrupt will be generated upon detection of LOF condition.
The table below shows configurations of the Alarm and Error Interrupt Enable bit of the Block Interrupt Enable Register. BLOCK INTERRUPT ENABLE REGISTER (BIER) (ADDRESS = 0X0B01H)
BIT NUMBER 1 BIT NAME Alarm and Error Interrupt Enable BIT TYPE R/W BIT DESCRIPTION 0 - Every interrupt generated by the Alarm and Error Interrupt Status Register (AEISR) is disabled. 1 - Every interrupt generated by the Alarm and Error Interrupt Status Register (AEISR) is enabled.
When these interrupt enable bits are set and Red Alarm is present in the incoming DS1 frame, the XRT86L30 framer will declare Red Alarm by doing the following:
230
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
* Set the read-only Receive Red Alarm State bit of the Alarm and Error Status Register (AESR) to one indicating there is Red Alarm detected in the incoming DS1 frame. * Set the Receive Red Alarm State Change bit of the Alarm and Error Status Register to one indicating there is a change in state of Red Alarm. This status indicator is valid until the Framer Interrupt Status Register is read. Reading this register clears the associated interrupt if Reset-Upon-Read is selected in Interrupt Control Register (ICR). Otherwise, a write-to-clear operation by the microprocessor is required to reset these status indicators. The table below shows the Receive Red Alarm State Change status bits of the Alarm and Error Status Register. ALARM AND ERROR STATUS REGISTER (AESR) (ADDRESS = 0X0B02H)
BIT NUMBER 2 BIT NAME Receive Red Alarm State Change BIT TYPE RUR / WC BIT DESCRIPTION 0 - There is no change of Red Alarm state in the incoming DS1 payload data. 1 - There is change of Red Alarm state in the incoming DS1 payload data.
The Receive Red Alarm State bit of the Alarm and Error Status Register (AESR), on the other hand, is a readonly bit indicating there is Red Alarm detected in the incoming DS1 frame. The table below shows the Receive Red Alarm State status bits of the Alarm and Error Status Register. ALARM AND ERROR STATUS REGISTER (AESR) (ADDRESS = 0X0B02H)
BIT NUMBER 7 BIT NAME Receive Red Alarm State BIT TYPE R BIT DESCRIPTION 0 - There is no Red Alarm condition detected in the incoming DS1 payload data. 1 - There is Red Alarm condition detected in the incoming DS1 payload data.
12.3 YELLOW ALARM The Alarm indication logic within the Receive Framer block of the XRT86L30 framer monitors the incoming DS1 frames for Yellow Alarm condition. The yellow alarm is detected and declared according to the following procedure: 1. Monitor the occurrence of Yellow Alarm pattern over a 6 ms interval. A YEL valid flag will be posted on the interval when Yellow Alarm pattern occurred during the interval. 2. Each interval with a valid YEL flag increments a flag counter which declares YEL alarm when 80 valid intervals have been accumulated. 3. An interval without valid YEL flag decrements the flag counter. The YEL alarm is removed when the counter reaches zero. If Yellow Alarm condition is present in the incoming DS1 frame, the XRT86L30 framer can generate a Receive Yellow Alarm State Change interrupt associated with the setting of Receive Yellow Alarm State Change bit of the Alarm and Error Status Register to one. To enable the Receive Yellow Alarm State Change interrupt, the Receive Yellow Alarm State Change Interrupt Enable bit of the Alarm and Error Interrupt Enable Register (AEIER) has to be set to one. In addition, the Alarm and Error Interrupt Enable bit of the Block Interrupt Enable Register (BIER) needs to be one.
231
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
The table below shows configurations of the Receive Yellow Alarm State Change Interrupt Enable bit of the Alarm and Error Interrupt Enable Register (AEIER). ALARM AND ERROR INTERRUPT ENABLE REGISTER (AEIER) (ADDRESS = 0X0B03H)
BIT NUMBER 0 BIT NAME Receive Yellow Alarm State Change Interrupt Enable BIT TYPE R/W BIT DESCRIPTION 0 - The Receive Yellow Alarm State Change interrupt is disabled. Any state change of Receive Yellow Alarm will not generate an interrupt. 1 - The Receive Yellow Alarm State Change interrupt is enabled. Any state change of Receive Yellow Alarm will generate an interrupt.
The table below shows configurations of the Alarm and Error Interrupt Enable bit of the Block Interrupt Enable Register. BLOCK INTERRUPT ENABLE REGISTER (BIER) (ADDRESS = 0X0B01H)
BIT NUMBER 1 BIT NAME Alarm and Error Interrupt Enable BIT TYPE R/W BIT DESCRIPTION 0 - Every interrupt generated by the Alarm and Error Interrupt Status Register (AEISR) is disabled. 1 - Every interrupt generated by the Alarm and Error Interrupt Status Register (AEISR) is enabled.
When these interrupt enable bits are set and Yellow Alarm is present in the incoming DS1 frame, the XRT86L30 framer will declare Yellow Alarm by doing the following: * Set the read-only Receive Yellow Alarm State bit of the Alarm and Error Status Register (AESR) to one indicating there is Yellow Alarm detected in the incoming DS1 frame. * Set the Receive Yellow Alarm State Change bit of the Alarm and Error Status Register to one indicating there is a change in state of Yellow Alarm. This status indicator is valid until the Framer Interrupt Status Register is read. Reading this register clears the associated interrupt if Reset-Upon-Read is selected in Interrupt Control Register (ICR). Otherwise, a write-to-clear operation by the microprocessor is required to reset these status indicators. The table below shows the Receive Yellow Alarm State Change status bits of the Alarm and Error Status Register. ALARM AND ERROR STATUS REGISTER (AESR)(ADDRESS = 0X0B02H)
BIT NUMBER 0 BIT NAME Receive Yellow Alarm State Change BIT TYPE RUR / WC BIT DESCRIPTION 0 - There is no change of Yellow Alarm state in the incoming DS1 payload data. 1 - There is change of Yellow Alarm state in the incoming DS1 payload data.
The table below shows the Receive AIS State Change status bits of the Alarm and Error Status Register. The Receive Yellow Alarm State bit of the Alarm and Error Status Register (AESR), on the other hand, is a read-only bit indicating there is Yellow Alarm detected in the incoming DS1 frame.
232
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
The table below shows the Receive Yellow Alarm State status bits of the Alarm and Error Status Register. ALARM AND ERROR STATUS REGISTER (AESR) (ADDRESS = 0X0B02H)
BIT NUMBER 5 BIT NAME Receive Yellow Alarm State BIT TYPE R BIT DESCRIPTION 0 - There is no Yellow Alarm condition detected in the incoming DS1 payload data. 1 - There is Yellow Alarm condition detected in the incoming DS1 payload data.
12.4 BIPOLAR VIOLATION The line coding for the DS1 signal should be bipolar. That is, a binary "0" is transmitted as zero volts while a binary "1" is transmitted as either a positive or negative pulse, opposite in polarity to the previous pulse. A Bipolar Violation or BPV occurs when the alternate polarity rule is violated. The Alarm indication logic within the Receive Framer block of the XRT86L30 framer monitors the incoming DS1 frames for Bipolar Violations. If a Bipolar Violation is present in the incoming DS1 frame, the XRT86L30 framer can generate a Receive Bipolar Violation interrupt associated with the setting of Receive Bipolar Violation bit of the Alarm and Error Status Register to one. To enable the Receive Bipolar Violation interrupt, the Receive Bipolar Violation Interrupt Enable bit of the Alarm and Error Interrupt Enable Register (AEIER) has to be set to one. In addition, the Alarm and Error Interrupt Enable bit of the Block Interrupt Enable Register (BIER) needs to be one. The table below shows configurations of the Receive Bipolar Violation Interrupt Enable bit of the Alarm and Error Interrupt Enable Register (AEIER). ALARM AND ERROR INTERRUPT ENABLE REGISTER (AEIER) (ADDRESS = 0X0B03H)
BIT NUMBER 3 BIT NAME Receive Bipolar Violation Interrupt Enable BIT TYPE R/W BIT DESCRIPTION 0 - The Receive Bipolar Violation interrupt is disabled. Occurrence of one or more bipolar violations will not generate an interrupt. 1 - The Receive Bipolar Violation interrupt is enabled. Occurrence of one or more bipolar violations will generate an interrupt.
The table below shows configurations of the Alarm and Error Interrupt Enable bit of the Block Interrupt Enable Register. BLOCK INTERRUPT ENABLE REGISTER (BIER) (ADDRESS = 0X0B01H)
BIT NUMBER 1 BIT NAME Alarm and Error Interrupt Enable BIT TYPE R/W BIT DESCRIPTION 0 - Every interrupt generated by the Alarm and Error Interrupt Status Register (AEISR) is disabled. 1 - Every interrupt generated by the Alarm and Error Interrupt Status Register (AEISR) is enabled.
When these interrupt enable bits are set and one or more Bipolar Violations are present in the incoming DS1 frame, the XRT86L30 framer will declare Receive Bipolar Violation by doing the following: * Set the Receive Bipolar Violation bit of the Alarm and Error Status Register to one indicating there are one or more Bipolar Violations. This status indicator is valid until the Framer Interrupt Status Register is read. Reading this register clears the associated interrupt if Reset-Upon-Read is selected in Interrupt Control Register (ICR). Otherwise, a write-to-clear operation by the microprocessor is required to reset these status indicators.
233
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
ALARM AND ERROR STATUS REGISTER (AESR) (ADDRESS = 0X0B02H)
BIT NUMBER 3 BIT NAME Receive Bipolar Violation State Change BIT TYPE RUR / WC BIT DESCRIPTION
REV. P1.0.1
The table below shows the Receive Bipolar Violation status bits of the Alarm and Error Status Register.
0 - There is no change of Bipolar Violation state in the incoming DS1 payload data. 1 - There is change of Bipolar Violation state in the incoming DS1 payload data.
ALARM AND ERROR INTERRUPT ENABLE REGISTER (AEIER) (ADDRESS = 0X0B03H)
BIT NUMBER 4 BIT NAME Receive Loss of Signal Interrupt Enable BIT TYPE R/W BIT DESCRIPTION 0 - The Receive Loss of Signal interrupt is disabled. Occurrence of Loss of Signals will not generate an interrupt. 1 - The Receive Loss of Signal interrupt is enabled. Occurrence of Loss of Signals will generate an interrupt.
The table below shows configurations of the Alarm and Error Interrupt Enable bit of the Block Interrupt Enable Register. BLOCK INTERRUPT ENABLE REGISTER (BIER) (ADDRESS = 0X0B01H)
BIT NUMBER 1 BIT NAME Alarm and Error Interrupt Enable BIT TYPE R/W BIT DESCRIPTION 0 - Every interrupt generated by the Alarm and Error Interrupt Status Register (AEISR) is disabled. 1 - Every interrupt generated by the Alarm and Error Interrupt Status Register (AEISR) is enabled.
When these interrupt enable bits are set and one or more Loss of Signals are present in the incoming DS1 frame, the XRT86L30 framer will declare Receive Loss of Signal by doing the following: * Set the Receive Loss of Signal bit of the Alarm and Error Status Register to one indicating there is one or more Loss of Signals. This status indicator is valid until the Framer Interrupt Status Register is read. Reading this register clears the associated interrupt if Reset-Upon-Read is selected in Interrupt Control Register (ICR). Otherwise, a write-to-clear operation by the microprocessor is required to reset these status indicators. The table below shows the Receive Loss of Signal status bits of the Alarm and Error Status Register. ALARM AND ERROR STATUS REGISTER (AESR) (ADDRESS = 0X0B02H)
BIT NUMBER 4 BIT NAME Receive Loss of Signal State BIT TYPE RUR / WC BIT DESCRIPTION 0 - There is no change of Loss of Signal state in the incoming DS1 payload data. 1 - There is change of Loss of Signal state in the incoming DS1 payload data.
234
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
12.5 E1 BRIEF DISCUSSION OF ALARMS AND ERROR CONDITIONS As defined in E1 specification, alarm conditions are created from defects. Defects are momentary impairments present on the E1 trunk. If a defect is present for a sufficient amount of time (called the integration time), then the defect becomes an alarm. Once an alarm is declared, the alarm is present until after the defect clears for a sufficient period of time. The time it takes to clear an alarm is called the de-integration time. Alarms are used to detect and warn maintenance personnel of problems on the E1 trunk. There are three types of alarms: * Red alarm or Service Alarm Indication (SAI) Signal * Blue alarm or Alarm Indication Signal (AIS) * Yellow alarm or Remote Alarm Indication (RAI) Signal To explain the error conditions and generation of different alarms, let us create a simple E1 system model. In this model, an E1 signal is sourced from the Central Office (CO) through a Repeater to the Customer Premises Equipment (CPE). At the same time, an E1 signal is routed from the CPE to the Repeater and back to the Central Office. Figure 97 below shows the simple E1 system model. FIGURE 97. SIMPLE DIAGRAM OF E1 SYSTEM MODEL
CO
Repeater
CPE
E1 Receive Framer Block
E1 Transmit Section
E1 Receive Section
E1 Receive Framer Block
E1 Transmit Framer Block
E1 Receive Section
E1 Transmit Section
E1 Transmit Framer Block
Simple E1 System Model
When the E1 system runs normally, that is, when there is no Loss of Signal (LOS) or Loss of Frame (LOF) detected in the line, no alarm will be generated. Sometimes, intermittent outburst of electrical noises on the line might result in Bipolar Violation or bit errors in the incoming signals, but these errors in general will not trigger the equipment to generate alarms. They will, depending on the system requirements, trigger the framer to generate interrupts that would cause the local microprocessor to create performance reports of the line. Now, consider a case in which the E1 line from the CO to the Repeater is broken or interrupted, resulting in completely loss of incoming data or severely impaired signal quality. Upon detection of Loss of Signal (LOS) or Loss of Frame (LOF) condition, the Repeater will generate an internal Red Alarm, also known as the Service Alarm Indication. This alarm will normally trigger a microprocessor interrupt informing the user that an incoming signal failure is happening. When the Repeater is in the Red Alarm state, it will transmit the Yellow Alarm to the CO indicating the loss of an incoming signal or loss of frame synchronization. This Yellow Alarm informs the CO that there is a problem
235
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
further down the line and its transmission is not being received at the Repeater. Figure 98 below illustrates the scenario in which the E1 connection from the CO to the Repeater is broken. FIGURE 98. GENERATION OF YELLOW ALARM BY THE REPEATER UPON DETECTION OF LINE FAILURE
Repeater declares Red Alarm internally Repeater generates Yellow Alarm to CO
CO
Repeater
CPE
E1 Receive Framer Block
Yellow Alarm
E1 Transmit Section
E1 Receive Section
E1 Receive Framer Block
E1 Transmit Framer Block
E1 Receive Section
E1 Transmit Section
E1 Transmit Framer Block
The E1 line is broken
The Repeater will also transmit a Blue Alarm, also known as Alarm Indication Signal (AIS) to the CPE. Blue alarm is an all ones pattern indicating that the equipment is functioning but unable to offer service due to failures originated from remote side. It is sent such that the equipment downstream will not lose clock synchroni-
236
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
zation even though no meaningful data is received. Figure 99 below illustrates this scenario in which the Repeater is sending an AIS to the CPE upon detection of line failure from the CO. FIGURE 99. GENERATION OF AIS BY THE REPEATER UPON DETECTION OF LINE FAILURE
Repeater declares Red Alarm internally Repeater generates Yellow Alarm to CO
CO
Repeater
CPE
E1 Receive Framer Block
Yellow Alarm
E1 Transmit Section
E1 Receive Section
E1 Receive Framer Block
E1 Transmit Framer Block
E1 Receive Section
E1 Transmit Section
AIS
E1 Transmit Framer Block
The E1 line is broken
Repeater generates AIS to CPE
Now, the CPE uses the AIS signal sent by the Repeater to recover received clock and remain in synchronization with the system. Upon detecting the incoming AIS signal, the CPE will generate a Yellow Alarm automatically to the Repeater to indicate the loss of incoming data. Figure 100 below illustrates this scenario in which the Repeater is sending an AIS to the CPE and the CPE is sending a Yellow Alarm back to the Repeater.
237
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
FIGURE 100. GENERATION OF YELLOW ALARM BY THE CPE UPON DETECTION OF AIS ORIGINATED BY THE REPEATER
Repeater declares Red Alarm internally Repeater generates Yellow Alarm to CO
CPE detects AIS and generates Yellow Alarm to Repeater
CO
Repeater
CPE
E1 Receive Framer Block
Yellow Alarm
E1 Transmit Section
E1 Receive Section
Yellow Alarm
E1 Receive Framer Block
E1 Transmit Framer Block
E1 Receive Section
E1 Transmit Section
AIS
E1 Transmit Framer Block
The E1 line is broken
Repeater generates AIS to CPE
Next, let us consider the scenario in which the signaling and data link channel (the time slot 16) of an E1 line between a far-end terminal (for example, the CO) and a near-end terminal (for example, the repeater) is impaired. In this case, the CAS signaling data received by the repeater is corrupted. The Repeater will then send an all ones pattern in time slot 16 (AIS16) downstream to the CPE. The repeater will also generate a CAS Multi-frame Yellow Alarm upstream to the CO to indicate the loss of CAS Multi-frame synchronization.
238
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
Figure 101 below illustrates this scenario in which the Repeater is sending an "AIS16" pattern to the CPE while sending a CAS Multi-frame Yellow Alarm to the CO. FIGURE 101. GENERATION OF CAS MULTI-FRAME YELLOW ALARM AND AIS16 BY THE REPEATER
Repeater generates CAS Multi-frame Yellow Alarm to CO
CO
CAS Multiframe Yellow Alarm
Repeater
CPE
E1 Receive Framer Block
E1 Transmit Section
E1 Receive Section
E1 Receive Framer Block
E1 Transmit Framer Block
E1 Receive Section
E1 Transmit Section
AIS16
E1 Transmit Framer Block
The timeslot 16 of an E1 line is iimpaired
Repeater generates AIS16 to CPE
239
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
The CPE, upon detecting the incoming AIS16 signal, will generate a CAS Multi-frame Yellow Alarm to the Repeater to indicate the loss of CAS Multi-frame synchronization. Figure 102 below illustrates the CPE sending a CAS Multi-frame Yellow Alarm back to the Repeater FIGURE 102. GENERATION OF CAS MULTI-FRAME YELLOW ALARM BY THE CPE UPON DETECTION OF "AIS16" PATTERN SENT BY THE REPEATER
CPE detects AIS16 and generates CAS Multi-frame Yellow Alarm to Repeater
Repeater generates CAS Multi-frame Yellow Alarm to CO
CO
CAS Multiframe Yellow Alarm
Repeater
CAS Multiframe Yellow Alarm
CPE
E1 Receive Framer Block
E1 Transmit Section
E1 Receive Section
E1 Receive Framer Block
E1 Transmit Framer Block
E1 Receive Section
E1 Transmit Section
AIS16
E1 Transmit Framer Block
The timeslot 16 of an E1 line is iimpaired
Repeater generates AIS16 to CPE
In summary, AIS or Blue Alarm is sent by a piece of E1 equipment downstream indicating that the incoming signal from upstream is lost. Yellow Alarm is sent by a piece of E1 equipment upstream upon detection of Loss of Signal, Loss of Frame or when it is receiving AIS. Similarly, an "AIS16" pattern is sent by a piece of E1 equipment downstream indicating that the incoming data link channel from upstream is damaged. The CAS Multi-frame Yellow Alarm is sent by a piece of E1 equipment upstream upon detection of Loss of CAS Multi-frame synchronization or when it is receiving an "AIS16" pattern. 12.5.1 How to configure the framer to transmit AIS As we discussed in the previous section, Alarm Indication Signal (AIS) or Blue Alarm is transmitted by the intermediate node to indicate that the equipment is still functioning but unable to offer services. It is an all ones (except for framing bits) pattern which can be used by the equipment further down the line to maintain clock recovery and timing synchronization. The XRT86L30 framer can generate three types of AIS when it is running in E1 format: * Framed AIS * Unframed AIS * AIS16 Unframed AIS is an all ones pattern. If unframed AIS is sent, the equipment further down the line will be able to maintain timing synchronization and be able to recover clock from the received AIS signal. However, due to the lack of framing bits, the equipment farther down the line will not be able to maintain frame synchronization and will declare Loss of Frame (LOF).
240
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
On the other hand, the payload portion of a framed AIS pattern is all ones. However, a framed AIS pattern still has correct framing bits. Therefore, the equipment further down the line can still maintain frame synchronization as well as timing synchronization. In this case, no LOF or Red alarm will be declared. "AIS16" is an AIS alarm that is supported only in E1 framing format. It is an all ones pattern in time slot 16 of each E1 frame. As we mentioned before, time slot 16 is usually used for signaling and data link in E1, therefore, an "AIS16" alarm is transmitted by the intermediate node to indicate that the data link channel is having a problem. Since all the other thirty one time slots are still transmitting normal data (that is, framing information and PCM data), the equipment further down the line can still maintain frame synchronization, timing synchronization as well as receive PCM data. In this case, no LOF or Red alarm will be declared by the equipment further down the line. However, a CAS Multi-frame Yellow Alarm will be sent by the equipment further down the line to indicate the loss of CAS Multi-frame alignment. The Transmit Alarm Indication Signal Select bits of the Alarm Generation Register (AGR) enable the three types of AIS transmission that are supported by the XRT86L30 framer. The table below shows configurations of the Transmit Alarm Indication Signal Select bits of the Alarm Generation Register (AGR). ALARM GENERATION REGISTER (AGR) (ADDRESS = 0X0108H)
BIT NUMBER 3-2 BIT NAME Transmit AIS Select BIT TYPE R/W BIT DESCRIPTION These READ/WRITE bit-fields allows the user to choose which one of the three AIS pattern supported by the XRT86L30 framer will be transmitted. 00 - No AIS alarm is generated. 01 - Enable unframed AIS alarm of all ones pattern. 11 - AIS16 pattern is generated. Only time slot 16 is carrying the all ones pattern. The other time slots still carry framing and PCM data. 11 - Enable framed AIS alarm of all ones pattern except for framing bits.
12.5.2 How to configure the framer to generate Red Alarm Upon detection of Loss of Signal (LOS) or Loss of Frame (LOF) condition, the Repeater will generate an internal Red Alarm when enabled. This alarm will normally trigger a microprocessor interrupt informing the user that an incoming signal failure is happening. The Loss of Frame Declaration Enable bit of the Alarm Generation Register (AGR) enable the generation of Red Alarm. The table below shows configurations of the of Frame Declaration Enable bit of the Alarm Generation Register (AGR). ALARM GENERATION REGISTER (AGR) (ADDRESS = 0X0108H)
BIT NUMBER 6 BIT NAME Loss of Frame Declaration Enable BIT TYPE R/W BIT DESCRIPTION This READ/WRITE bit-field permits the framer to declare Red Alarm in case of Loss of Frame Alignment (LOF). When receiver module of the framer detects Loss of Frame Alignment in the incoming data stream, it will generate a Red Alarm. The framer will also generate an RxLOFs interrupt to notify the microprocessor that an LOF condition is occurred. A Yellow Alarm is then returned to the remote transmitter to report that the local receiver detects LOF. 0 - Red Alarm declaration is disabled. 1 - Red Alarm declaration is enabled.
12.5.3 How to configure the framer to transmit Yellow Alarm The XRT86L30 framer supports transmission of both Yellow Alarm and CAS Multi-frame Yellow Alarm in E1 mode.
241
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
Upon detection of Loss of Signal (LOS) or Loss of Frame (LOF) condition, the receiver will transmit the Yellow Alarm back to the source indicating the loss of an incoming signal. This Yellow Alarm informs the source that there is a problem further down the line and its transmission is not being received at the destination. On the other hand, upon detection of Loss of CAS Multi-frame alignment pattern, the receiver section of the XRT86L30 framer will transmit a CAS Multi-frame Yellow Alarm back to the source indicating the Loss of CAS Multi-frame synchronization. The Yellow Alarm Generation Select bits of the Alarm Generation Register (AGR) enable transmission of different types of Yellow alarm that are supported by the XRT86L30 framer. 12.5.4 Transmit Yellow Alarm The Yellow Alarm bits are located at bit 2 of time slot 0 of non-FAS frames. A logic one of this bit denotes the Yellow Alarm and a logic zero of this bit denotes normal operation. The XRT86L30 supports transmission of Yellow Alarm automatically or manually. When the Yellow Alarm Generation Select bits of the Alarm Generation Register are set to 01, the Yellow Alarm bit is transmitted by echoing the received FAS alignment pattern. If the correct FAS alignment is received, the Yellow Alarm bit is set to zero. If the FAS alignment pattern is missing or corrupted, the Yellow Alarm bit is set to one while Loss of Frame Synchronization is declared. When the Yellow Alarm Generation Select bits of the Alarm Generation Register are set to 10, the Yellow Alarm bit is transmitted as zero. When the Yellow Alarm Generation Select bits of the Alarm Generation Register are set to 11, the Yellow Alarm bit is transmitted as one. 12.5.5 Transmit CAS Multi-frame Yellow Alarm Within the sixteen-frame CAS Multi-frame, the CAS Multi-frame Yellow Alarm bits are located at bit 6 of time slot 16 of frame number 0. A logic one of this bit denotes the CAS Multi-frame Yellow Alarm and a logic zero of this bit denotes normal operation. The XRT86L30 supports transmission of CAS Multi-frame Yellow Alarm automatically or manually. When the CAS Multi-frame Yellow Alarm Generation Select bits of the Alarm Generation Register are set to 01, the CAS Multi-frame Yellow Alarm bit is transmitted by echoing the received CAS Multi-frame alignment pattern (the four zeros pattern). If the correct CAS Multi-frame alignment is received, the CAS Multi-frame Yellow Alarm bit is set to zero. If the CAS Multi-frame alignment pattern is missing or corrupted, the CAS Multi-frame Yellow Alarm bit is set to one while Loss of CAS Multi-frame Synchronization is declared. When the CAS Multi-frame Yellow Alarm Generation Select bits of the Alarm Generation Register are set to 10, the CAS Multi-frame Yellow Alarm bit is transmitted as zero. When the CAS Multi-frame Yellow Alarm Generation Select bits of the Alarm Generation Register are set to 11, the CAS Multi-frame Yellow Alarm bit is transmitted as one.
242
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
12.6 T1 BRIEF DISCUSSION OF ALARMS AND ERROR CONDITIONS As defined in ANSI T1.231 specification, alarm conditions are created from defects. Defects are momentary impairments present on the DS1 trunk. If a defect is present for a sufficient amount of time (called the integration time), then the defect becomes an alarm. Once an alarm is declared, the alarm is present until after the defect clears for a specified period of time. The time it takes to clear an alarm is called the de-integration time. Alarms are used to detect and warn maintenance personnel of problems on the DS1 trunk. There are three types of alarms: * Red alarm or Service Alarm Indication (SAI) Signal * Blue alarm or Alarm Indication Signal (AIS) * Yellow alarm or Remote Alarm Indication (RAI) Signal A simple DS1 system model is shown in Figure 103 to explain the error conditions and generation of different alarms, let us create. In this model, a DS1 signal is sourced from the Central Office (CO) through a Repeater to the Customer Premises Equipment (CPE). At the same time, a DS1 signal is routed from the CPE to the Repeater and back to the Central Office. FIGURE 103. SIMPLE DIAGRAM OF DS1 SYSTEM MODEL
CO
Repeater
CPE
DS1 Receive Framer Block
DS1 Transmit Section
DS1 Receive Section
DS1 Receive Framer Block
DS1 Transmit Framer Block
DS1 Receive Section
DS1 Transmit Section
DS1 Transmit Framer Block
Simple DS1 System Model
When the DS1 system runs normally, i.e., when there is no Loss of Signal (LOS) or Loss of Frame (LOF) detected in the line, no alarm will be generated. Sometimes, intermittent outburst of electrical noises on the line might result in Bipolar Violation or bit errors in the incoming signals, but these errors in general will not trigger the equipment to generate alarms. They will at most trigger the framer to generate interrupts which would cause the local microprocessor to interrupt as well as add statistics in the performance monitoring accumulator registers. Now, consider a case in which the DS1 line from the Repeater to CPE is broken or interrupted, resulting in a complete loss of incoming data or a severely impaired signal quality. Upon detection of Loss of Signal (LOS) or Loss of Frame (LOF) condition, the CPE will generate an internal Red Alarm, also known as the Service Alarm Indication. This alarm will normally trigger a microprocessor interrupt informing the user that an incoming signal failure is happening. When the CPE is in the Red Alarm state, it will transmit the Yellow Alarm to the Repeater indicating the loss of an incoming signal or loss of frame synchronization. This Yellow Alarm informs the Repeater that there is a
243
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
problem further down the line and its transmission is not being received at the CPE. The Figure below illustrates the scenario in which the DS1 connection from the Repeater to CPE is broken. FIGURE 104. GENERATION OF YELLOW ALARM BY THE CPE UPON DETECTION OF LINE FAILURE
CPE declares Red Alarm internally
CO
Repeater
CPE
DS1 Receive Framer Block
DS1 Transmit Section
DS1 Receive Section
Yellow Alarm
DS1 Receive Framer Block
DS1 Transmit Framer Block
DS1 Receive Section
DS1 Transmit Section
DS1 Transmit Framer Block
The DS1 line is broken
The Repeater, upon detection of Yellow Alarm originated from the CPE, will transmit a Blue Alarm, also known as Alarm Indication Signal (AIS) to the CO. Blue alarm is an all ones pattern indicating that the equipment is functioning but unable to offer service due to failures originated from remote side. It is sent such that the equipment downstream will not lose clock synchronization even though no meaningful data is received. The Figure
244
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
below illustrates this scenario in which the Repeater is sending an AIS to CO upon detection of Yellow alarm originated from the CPE. FIGURE 105. GENERATION OF AIS BY THE REPEATER UPON DETECTION OF YELLOW ALARM ORIGINATED BY THE CPE
Repeater detects Yellow alarm and generate AIS to CO CPE declares Red Alarm internally
CO
Repeater
CPE
DS1 Receive Framer Block
AIS
DS1 Transmit Section
DS1 Receive Section
Yellow Alarm
DS1 Receive Framer Block
DS1 Transmit Framer Block
DS1 Receive Section
DS1 Transmit Section
DS1 Transmit Framer Block
The DS1 line is broken
Now let us consider another scenario in which the DS1 line between CO and the Repeater is broken. Again, upon detection of Loss of Signal (LOS) or Loss of Frame (LOF) condition, the Repeater will generate an internal Red Alarm. This alarm will normally trigger a microprocessor interrupt informing the user that an incoming signal failure is happening. The Repeater will also send an all ones AIS pattern downstream to the CPE and a Yellow Alarm back to the CO. The CPE uses the AIS signal to recover received clock and remain in synchronization with the system. Upon detecting the incoming AIS signal, the CPE will generate a Yellow Alarm to the Repeater to indicate the
245
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
loss of incoming signal. The Figure below illustrates this scenario in which the Repeater is sending an AIS to the CPE and the CPE is sending a Yellow Alarm back to the Repeater. FIGURE 106. GENERATION OF YELLOW ALARM BY THE CPE UPON DETECTION OF AIS ORIGINATED BY THE REPEATER
Repeater declares Red Alarm internally
CO
Repeater
CPE
DS1 Receive Framer Block
DS1 Transmit Section
DS1 Receive Section
Yellow Alarm
DS1 Receive Framer Block
DS1 Transmit Framer Block
DS1 Receive Section
DS1 Transmit Section
AIS
DS1 Transmit Framer Block
The DS1 line is broken
Repeater detects Yellow alarm and generate AIS to CO
12.6.1 How to configure the framer to transmit AIS As we discussed in the previous section, Alarm Indication Signal (AIS) or Blue Alarm is transmitted by the intermediate node to indicate that the equipment is still functioning but unable to offer services. It is an all ones (except for framing bits) pattern which can be used by the equipment further down the line to maintain clock recovery and timing synchronization. The XRT86L30 framer can generate two types of AIS: * Framed AIS * Unframed AIS Unframed AIS is an all ones pattern. If unframed AIS is sent, the equipment further down the line will be able to maintain timing synchronization and be able to recover clock from the received AIS signal. However, due to the lack of framing bits, the equipment farther down the line will not be able to maintain frame synchronization and will declare Loss of Frame (LOF). On the other hand, the payload portion of a framed AIS pattern is all ones. However, a framed AIS pattern still has correct framing bits. Therefore, the equipment further down the line can still maintain frame synchronization as well as timing synchronization. In this case, no LOF or Red alarm will be declared.
246
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
The Transmit Alarm Indication Signal Select bits of the Alarm Generation Register (AGR) enable the two types of AIS transmission that are supported by the XRT86L30 framer. The table below shows configurations of the Transmit Alarm Indication Signal Select bits of the Alarm Generation Register (AGR). ALARM GENERATION REGISTER (AGR)(ADDRESS = 0X0108H)
BIT NUMBER 3-2 BIT NAME Transmit AIS Select BIT TYPE R/W BIT DESCRIPTION These READ/WRITE bit-fields allows the user to choose which one of the two AIS pattern supported by the XRT86L30 framer will be transmitted. 00 - No AIS alarm is generated. 01 - Enable unframed AIS alarm of all ones pattern. 10 - Enable framed AIS alarm of all ones pattern except for framing bits. 11 - No AIS alarm is generated.
12.6.2 How to configure the framer to generate Red Alarm Upon detection of Loss of Signal (LOS) or Loss of Frame (LOF) condition, the Repeater will generate an internal Red Alarm when enabled. This alarm will normally trigger a microprocessor interrupt informing the user that an incoming signal failure is happening. The Loss of Frame Declaration Enable bit of the Alarm Generation Register (AGR) enables the generation of Red Alarm. The table below shows configurations of the of Frame Declaration Enable bit of the Alarm Generation Register (AGR). ALARM GENERATION REGISTER (AGR)(ADDRESS = 0X0108H)
BIT NUMBER 6 BIT NAME Loss of Frame Declaration Enable BIT TYPE R/W BIT DESCRIPTION This READ/WRITE bit-field permits the framer to declare Red Alarm in case of Loss of Frame Alignment (LOF). When receiver module of the framer detects Loss of Frame Alignment in the incoming data stream, it will generate a Red Alarm. The framer will also generate an RxLOFs interrupt to notify the microprocessor that an LOF condition is occurred. A Yellow Alarm is then returned to the remote transmitter to report that the local receiver detects LOF. 0 - Red Alarm declaration is disabled. 1 - Red Alarm declaration is enabled.
12.6.3 How to configure the framer to transmit Yellow Alarm Upon detection of Loss of Signal (LOS) or Loss of Frame (LOF) condition, the receiver will transmit the Yellow Alarm back to the source indicating the loss of an incoming signal. This Yellow Alarm informs the source that there is a problem further down the line and its transmission is not being received at the destination. The XRT86L30 framer supports transmission of Yellow Alarm when running at the following framing formats: * SF Mode * ESF Mode * N Mode * T1DM Mode Yellow alarm is transmitted in different forms for various framing formats. The Yellow Alarm Generation Select bits of the Alarm Generation Register (AGR) enable transmission of different types of Yellow alarm that are supported by the XRT86L30 framer.
247
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
12.6.4 Transmit Yellow Alarm in SF Mode In SF mode, the XRT86L30 supports transmission of Yellow Alarm in two ways. When the Yellow Alarm Generation Select bits of the Alarm Generation Register are set to 01 or 11, the second MSB of all DS0 channels is transmitted as zero. This is Yellow Alarm for DS1 standard. When the Yellow Alarm Generation Select bits of the Alarm Generation Register are set to 10, the Framing bit of Frame 12 is transmitted as one. This is Yellow Alarm for J1 standard. 12.6.5 Transmit Yellow Alarm in ESF Mode In ESF mode, the XRT86L30 transmits Yellow Alarm on the 4Kbit/s data link channel. The Facility Data Link bits are sent in the pattern of eight ones followed by eight zeros. The number of repetitions of this pattern depends on the duration of Yellow Alarm Generation Select bits of the Alarm Generation Register. When these select bits are set to 01 or 11, the following scenario will happen: 1. If Bit 0 of Yellow Alarm Generation Select forms a pulse width shorter or equal to the time required to transmit 255 patterns on the 4Kbit/s data link, the alarm is transmitted for 255 patterns. 2. If Bit 0 of Yellow Alarm Generation Select forms a pulse width longer than the time required to transmit 255 patterns on the 4Kbit/s data link, the alarm continues until Bit 0 goes LOW. 3. A second pulse on Bit 0 of Yellow Alarm Generation Select during an alarm transmission resets the pattern counter. The framer will send another 255 patterns of the Yellow Alarm.
NOTE: To pulse Bit 0, this bit must be programmed to "1" and then reset back to "0". The pulse width is the duration in time that this bit remains at "1".
When these select bits are set to 10, Bit 1 of the Yellow Alarm Generation Select forms a pulse that controls the duration of Yellow Alarm transmission. The alarm continues until Bit 1 goes LOW. When these select bits are set to 01, the following scenario will happen: 1. If Bit 0 of Yellow Alarm Generation Select forms a pulse width shorter or equal to the time required to transmit 255 patterns on the 4Kbit/s data link, the alarm is transmitted for 255 patterns. 2. If Bit 0 of Yellow Alarm Generation Select forms a pulse width longer than the time required to transmit 255 patterns on the 4Kbit/s data link, the alarm continues until Bit 0 goes LOW. 3. A second pulse on Bit 0 of Yellow Alarm Generation Select during an alarm transmission resets the pattern counter. The framer will send another 255 patterns of the Yellow Alarm. 12.6.6 Transmit Yellow Alarm in N Mode In N mode, when the Yellow Alarm Generation Select bits of the Alarm Generation Register are set to 01, 10 or 11, the second MSB of all DS0 channels is transmitted as zero. 12.6.7 Transmit Yellow Alarm in T1DM Mode In T1DM mode, when the Yellow Alarm Generation Select bits of the Alarm Generation Register are set to 01, 10 or 11, the Yellow Alarm bit (the third LSB of Timeslot 23) is set to zero.The table below shows configurations of the Yellow Alarm Generation Select bits of the Alarm Generation Register (AGR).
248
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
) ALARM GENERATION REGISTER (AGR)(ADDRESS = 0X0108H)
BIT NUMBER 5-4 BIT NAME Yellow Alarm Generation Select BIT TYPE R/W BIT DESCRIPTION 00 - Transmission of Yellow Alarm is disabled. 01 - The framer transmits Yellow Alarm by converting the second MSB of all outgoing twenty-four DS0 channel into zero. 10 - The framer transmits Yellow Alarm by sending the Super-frame Alignment Bit (Fs) of Frame 12 as one. 11 - The framer transmits Yellow Alarm by converting the second MSB of all outgoing twenty-four DS0 channel into zero. N Mode: 00 - Transmission of Yellow Alarm is disabled. 01, 10 or 11 - The framer transmits Yellow Alarm by converting the second MSB of all outgoing twenty-four DS0 channel into zero. ESF Mode: When the framer is in ESF mode, it transmits Yellow Alarm pattern of eight ones followed by eight zeros (1111_1111_0000_0000) through the 4Kbit/s data link bits. 00 - Transmission of Yellow Alarm is disabled. 01 - The following scenario will happen: 1. If Bit 0 of Yellow Alarm Generation Select forms a pulse width shorter or equal to the time required to transmit 255 patterns on the 4Kbit/s data link, the alarm is transmitted for 255 patterns.
2. If Bit 0 of Yellow Alarm Generation Select forms a pulse width longer
than the time required to transmit 255 patterns on the 4Kbit/s data link, the alarm continues until Bit 0 goes LOW.
3. A second pulse on Bit 0 of Yellow Alarm Generation Select during an
alarm transmission resets the pattern counter. The framer will send another 255 patterns of the Yellow Alarm. 10 - Bit 1 of the Yellow Alarm Generation Select forms a pulse that controls the duration of Yellow Alarm transmission. The alarm continues until Bit 1 goes LOW. 11 - The following scenario will happen: 1. If Bit 0 of Yellow Alarm Generation Select forms a pulse width shorter or equal to the time required to transmit 255 patterns on the 4Kbit/s data link, the alarm is transmitted for 255 patterns.
2. If Bit 0 of Yellow Alarm Generation Select forms a pulse width longer
than the time required to transmit 255 patterns on the 4Kbit/s data link, the alarm continues until Bit 0 goes LOW.
3. A second pulse on Bit 0 of Yellow Alarm Generation Select during an
alarm transmission resets the pattern counter. The framer will send another 255 patterns of the Yellow Alarm. T1DM Mode: 00 - Transmission of Yellow Alarm is disabled. 01, 10 or 11 - The framer transmits Yellow Alarm by setting the Yellow Alarm bit (Y-bit) to zero.
249
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
250
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
13.0 PERFORMANCE MONITORING (PMON) The function of Performance Monitoring is designed to accumulate error events like line code (bipolar) violations, parity errors, frame alignment errors, etc. using saturating counters. When an accumulation interval is signaled by a one-second interrupt (if enabled), the current counter value can be accessed by the microprocessor. After a read by the microprocessor, the counters are reset and begin accumulating error events for the next interval. The counters are reset in such a manner that error events during the reset period are not missed. 13.1 RECEIVE LINE CODE VIOLATION COUNTER (16-BIT) A line code violation is any event of pulses that does not comply with B8ZS or HDB3 encoding standards. Line code violations and bi-polar violations cause the LCV counter to increment if this feature is enabled. The MSB is stored in register 0x0900h and the LSB is stored in register 0x0901h. 13.2 16-BIT RECEIVE FRAME ALIGNMENT ERROR COUNTER (16-BIT) A framing bit error event is defined as a error pattern found in FAS or bit 2 of the non-FAS. This counter is disabled during loss of frame synchronization conditions. It is not disabled during loss of synchronization at either the CAS or CRC-4 multiframe stage. The MSB is stored in register 0x0902h and the LSB is stored in register 0x0903h. 13.3 RECEIVE SEVERELY ERRORED FRAME COUNTER (8-BIT) A severely errored frame event is defined as the occurrence of two consecutive errored frame alignment signals that are not responsible for loss of frame alignment. The contents of this register are stored in 0x0904h. 13.4 RECEIVE CRC-6/4 BLOCK ERROR COUNTER (16-BIT) A synchronization bit error event is defined as a CRC-6/4 error received. The counter is disabled during loss of sync at either the Frame/FAS or ESF/CRC4 level, but it will not be disabled if loss of multiframe sync occurs at the CAS level. The MSB is stored in register 0x0905h and the LSB is stored in register 0x0906h. 13.5 RECEIVE FAR-END BLOCK ERROR COUNTER (16-BIT) 13.6 RECEIVE SLIP COUNTER (8-BIT) A slip event is defined as a replication or deletion of a T1/E1 frame by the receiving slip buffer. The contents of this register are stored in 0x0909h. 13.7 RECEIVE LOSS OF FRAME COUNTER (8-BIT) A LOFC is a count of the number of times a Loss of FAS Frame has been declared. This parameter provides the capability to measure an accumulation of short failure events. The contents of this register are stored in 0x090Ah. 13.8 RECEIVE CHANGE OF FRAME ALIGNMENT COUNTER (8-BIT) A COFA is declared when the newly-locked framing is different from the one offered by off-line framer. The contents of this register are stored in 0x090Bh. 13.9 FRAME CHECK SEQUENCE ERROR COUNTERS 1, 2, AND 3 (8-BIT EACH) These counters accumulate the times of occurrence the receive frame check sequence error is detected by the LAPD controllers. The contents for LAPD 1 are stored in register 0x090Ch. The contents for LAPD 2 are stored in register 0x091Ch. The contents for LAPD 3 are stored in register 0x092Ch. 13.10 PRBS ERROR COUNTER (16-BIT) This counter contains the 16-bit PRBS bit error event. The MSB is stored in register 0x090Dh and the LSB is stored in register 0x090Eh. 13.11 TRANSMIT SLIP COUNTER (8-BIT) A slip event is defined as a replication or deletion of a T1/E1 frame by the transmit slip buffer. The contents of this register are stored in 0x090Fh.
251
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
13.12 EXCESSIVE ZERO VIOLATION COUNTER (16-BIT) This register contains the accumulation of the events in which excessive zeros have occurred. This is defined as more than 3-bit for HDB3, more than 7-bits for B8ZS, and more than 15-bits for AMI. The MSB is stored in register 0x0910h and the LSB is stored in register 0x0911h.
252
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
14.0 APPENDIX A: DS-1/E1 FRAMING FORMATS 14.1 THE E1 FRAMING STRUCTURE A single E1 frame consists of 256 bits which is created 8000 times per second. This yields a bit-rate of 2.048Mbps. The 256 bits within each E1 frame are grouped into 32 octets or timeslots. These timeslots are numbered from 0 to 31. Each timeslot is 8 bits in length and is transmitted most significant bit first, numbered bit 0. Figure 107 presents a diagram of a single E1 frame. FIGURE 107. SINGLE E1 FRAME DIAGRAM
E1 Frame
Timeslot 0
Timeslot 1
Timeslot 29
Timeslot 30
Timeslot 31
0
1
2
3
4
5
6
7
Not all of these timeslots are available to transmit voice or user data. For instance, timeslot 0 is always reserved for system use and timeslot 16 is sometimes used (reserved) by the system. Hence, within each E1 frame, either 30 or 31 of the 32 timeslots are available for transporting user or voice data. In general, there are two types of E1 frames, FAS and Non-FAS. In any E1 data stream, the E1 frame begins with a FAS frame followed by NonFAS frame and then alternates between the two. 14.1.1 FAS Frame Timeslot 0 within the FAS E1 frame contains a framing alignment pattern and therefore supports framing. The bit-format of timeslot 0 is presented in Table 175. The Si bit within the FAS E1 Frame typically carries the results of a CRC-4 calculation. The fixed framing pattern (e.g., 0, 0, 1, 1, 0, 1, 1) will be used by the Receive E1 Framer at the Remote terminal for frame synchronization/alignment purposes. TABLE 175: BIT FORMAT OF TIMESLOT 0 OCTET WITHIN A FAS E1 FRAME
BIT Value Function 0 SI 1 0 2 0 3 1 4 1 5 0 6 1 7 1
International Bit
Frame Alignment Signaling (FAS) Pattern
The fixed framing pattern (e.g., 0, 0, 1, 1, 0, 1, 1) is used by the Receive E1 Framer at the Remote terminal for frame synchronization/alignment purposes.
In practice, the Si bit within the FAS E1 Frame carries the results of a DESCRIPTIONCRC-4 calculation, which is discussed in greater detail in OPERATION Section 14.2.1.
253
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
14.1.2 Non-FAS Frame Timeslot 0 within the non-FAS E1 frame contains bits that support signaling or data link message transmission. The bit-format of timeslot 0 is presented in Table 176. The Si bit in the Non-FAS frame typically carries a specific value that will be used by the Receive E1 Framer for CRC Multi-frame alignment purposes.
TABLE 176: BIT FORMAT OF TIMESLOT 0 OCTET WITHIN A NON-FAS E1 FRAME
BIT Value Function6 DescriptionOperation 0 Si International Bit International Bit The Si bit within the non-FAS E1 Frame typically carries a specific value that will be used by the Receive E1 Framer for CRC Multi-frame alignment purposes. 1 1 Fixed Value Fixed at "1" Bit-field "1" contains a fixed value "1". This bit-field will be used for FAS framing synchronization/alignment purposes by the Remote Receive E1 Framer. 2 A Yellow Alarm FAS Frame Yellow Alarm Bit This bit-field is used to transmit a Yellow alarm to the Remote Terminal. This bit-field is set to "0" during normal conditions, and is set to "1" whenever the Receive E1 Framer detects an LOS (Loss of Signal) or LOF (Loss of Framing) condition in the incoming E1 frame data. 3 Sa4 4 Sa5 5 Sa6 6 Sa7 7 Sa8
National bits National Bits These bit-fields can be used to carry data link information from the Local transmitting terminal to the Remote receiving terminal. Since the National bits only exist in the non-FAS frames, they offer a maximum signaling data link bandwidth of 20kbps.
254
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
14.2 THE E1 MULTI-FRAME STRUCTURE There are two types of E1 Multi-frame structures, CRC Multi-frame and CAS Multi-frame. The CAS Multiframe can be considered a subset of the CRC Multi-frame, in that CAS is an option to carry signaling information within the CRC Multi-frame structure. 14.2.1 The CRC Multi-frame Structure A CRC Multi-frame consists of 16 consecutive E1 frames, with the first of these frames being a FAS frame. From a Frame Alignment point of view, timeslot 0 of each of these E1 frames within the Multi-frame are the most important 16 octets. Table 177 presents the bit-format for all timeslot 0 octets within a 16 frame CRC Multi-frame.
TABLE 177: BIT FORMAT OF ALL TIMESLOT 0 OCTETS WITHIN A CRC MULTI-FRAME
SMF 1 FRAME NUMBER 0 1 2 3 4 5 6 7 2 8 9 10 11 12 13 14 15 BIT 0 C1 0 C2 0 C3 1 C4 0 C1 1 C2 1 C3 E C4 E BIT 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 BIT 2 0 A 0 A 0 A 0 A 0 A 0 A 0 A 0 A BIT 3 1 Sa4 1 Sa4 1 Sa4 1 Sa4 1 Sa4 1 Sa4 1 Sa4 1 Sa4 BIT 4 1 Sa5 1 Sa5 1 Sa5 1 Sa5 1 Sa5 1 Sa5 1 Sa5 1 Sa5 BIT 5 0 Sa6 0 Sa6 0 Sa6 0 Sa6 0 Sa6 0 Sa6 0 Sa6 0 Sa6 BIT 6 1 Sa7 1 Sa7 1 Sa7 1 Sa7 1 Sa7 1 Sa7 1 Sa7 1 Sa7 BIT 7 1 Sa8 1 Sa8 1 Sa8 1 Sa8 1 Sa8 1 Sa8 1 Sa8 1 Sa8
The CRC Multi-frame is divided into 2 sub Multi-Frames. Sub-Multi-Frame 1 is designated as SMF1 and SubMulti-Frame 2 is designated as SMF2. SMF1 and SMF2 each consist of 8 E1 frames having 4 FAS frames and 4 non-FAS frames. There are two interesting things to note in Table 177. First, all of the bit-field 0 positions within each of the FAS frames (within each SMF) are designated as C1, C2, C3 and C4. These four bit-fields contain the CRC-4 values which have been computed over the previous SMF. Hence, while the Transmit E1 Framer is assembling a given SMF, it computes the CRC-4 value for that SMF and inserts these results into the C1 through C4 bit-fields within the very next SMF. These CRC-4 values ultimately are used by the Remote Receive E1 Framer for error detection purposes.
NOTE: This framing structure is referred to as a CRC Multi-Frame because it permits the remote receiving terminal to locate and verify the CRC-4 bit-fields.
The second interesting thing to note regarding Table 177 is that the bit-field 0 positions within each of the nonFAS frames (within the entire MF) are of a fixed 6-bit pattern 0, 0, 1, 0, 1, 1 along with two bits, each designated as "E". This 6-bit pattern is referred to as the CRC Multi-Frame alignment pattern, which can ultimately be used by the Remote Receive E1 Framer for CRC Multi-Frame synchronization/alignment. The "E" bits are used to indicate that the Local Receive E1 framer has detected errored sub-Multi-Frames.
255
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
14.2.2 CAS Multi-Frames and Channel Associated Signaling CAS Multi-Frames are only relevant if the user is using CAS or Channel Associated Signaling. If the user is implementing Common Channel Signaling then the CAS Multi-Frame is not available. 14.2.2.1 Channel Associated Signaling If the user operates an E1 channel in Channel Associated Signaling, then timeslot 16 octets within each E1 frame will be reserved for signaling. Such signaling would convey information such as On-Hook, Off-Hook conditions, call set-up, control, etc. In CAS, this type of signaling data that is associated with a particular voice channel will be carried within timeslot 16 of a particular E1 frame within a CAS Multi-Frame. The CAS is carried in a Multi-Frame structure which consists of 16 consecutive E1 frames. The framing/byte format of a CAS Multi-Frame is presented in Figure 108.
FIGURE 108. FRAME/BYTE FORMAT OF THE CAS MULTI-FRAME STRUCTURE
A Single CAS Multiframe
Timeslot 16 Frame 0 Timeslot 16 Frame 1 Timeslot 16 Frame 2 Timeslot 16 Frame 15
0000
xyxx
ABCD
ABCD
ABCD
ABCD
ABCD ABCD
CAS Multiframe Alignment Pattern
Signaling Data Associated with Timeslot 1
Signaling Data Associated with Timeslot 2 Signaling Data Associated with Timeslot 18
Signaling Data Associated with Timeslot 15 Signaling Data Associated with Timeslot 31
Signaling Data Associated with Timeslot 17
x = "dummy bits" y = Carries the Multiframe "Yellow Alarm" bit
Timeslot 16 within frame 0 is a special octet that is used to convey CAS Multi-Frame alignment information, and to convey Multi-Frame alarm information to the Remote Terminal. The bit-format of timeslot 16 within frame 0 of a CAS Multi-Frame is 0000 xyxx. The upper nibble of this octet contains all zeros and is used to identify itself as the CAS Multi-Frame alignment signal. If CAS is used, then the user is advised to insure that none of the other timeslot 16 octets contain the value "0000". The lower nibble of this octet contains the expression "xyxx". The x-bits are the spare bits and should be set to "0" if not used. The y-bit is used to indicate a Multi-Frame alarm condition to the Remote terminal. During normal operation, this bit-field is cleared to "0". However, if the Local Receive E1 Framer detects a problem with the incoming Multi-Frames, then the Local Transmit E1 Framer will set this bit-field within the next outbound CAS Multi-Frame to "1".
NOTE: The Local Transmit E1 Framer will continue to set the y-bit to "1" for the duration that the Local Receive E1 Framer detects this problem.
Timeslot 16 within Frame 1 of the CAS Multi-Frame contains 4 bits of signaling data for voice channel 1 and 4 bits of signaling data for voice channel 17. Timeslot 16 within Frame 2 contains 4 bits of signaling data for voice channel 2 and 4 bits of signaling data for voice channel 18, and this continues for all E1 frames.
256
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
14.2.2.2 Common Channel Signaling (CCS) Common Channel Signaling is an alternative form of signaling from CAS. In CCS, whatever signaling data which is transported via the outbound E1 data stream, carries information that applies to all of the voice channels as a set (e.g., timeslots 1 through 15 and 17 through 31) in the E1 frame. There are numerous other variations of Common Channel Signaling that are available. Some of these are listed below. * 31 Voice Channels with the common channel signaling being transported via the National Bits. * 30 Voice Channels with the common channel signaling data being transported via the National Bits and CAS data being transported via timeslot 16. * 30 Voice Channels with the Common Channel Signaling being processed via timeslot 16. (e.g., Primary Rate ISDN Signaling). FIGURE 109. E1 FRAME FORMAT
Time Slot 0 Time Slot 16 Time Slots 1-15, 17-31
a. Even Frames 0, 2, 4-14 1 0 0 1 1 0 1 1
a. Frame 0 0 0 0 0 X Y X X Channel Data
FAS b. Odd Frames 1, 3, 5-15 8 Bits/ Time Slot 1 1 A N N N N N
CAS b. Frames 1-15 A B C D A B C D 0 1 2 3 4 5 6 7
Non-FAS
32 Time Slots/Frame
TS 0
TS 1
TS 2
TS 3 - 14
TS 15
TS 16
TS 17
TS 18 - 28
TS 29
TS 30
TS 31
16 Frames/ Multiframe
FR 0
FR 1
FR 2
FR 3
FR 4
FR 5
FR 6
FR 7
FR 8
FR 9
FR 10
FR 11
FR 12
FR 13
FR 14
FR 15
257
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
14.3 THE DS1 FRAMING STRUCTURE A single T1 frame is 193 bits long and is transmitted at a frame rate of 8000Hz. This results in an aggregate bit rate of 1.544 Mbit/s. Basic frames are divided into 24 timeslots numbered 1 thru 24 and a framing bit as shown in Figure 110. Each timeslot is 8 bits in length and is transmitted most significant bit first, numbered bit 0. This results in a single timeslot data rate of 8 bits x 8000/sec = 64 kbit/s. FIGURE 110. T1 FRAME FORMAT
DS1 Frame 125s Timeslot 1 Timeslot 2 - 23 Timeslot 23 Timeslot 24
F-bit
0Bit 0
1Bit 1
2Bit 2
3Bit 3
4Bit 4
5Bit 5
6Bit 6
7Bit 7
258
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
14.4 T1 SUPER FRAME FORMAT (SF) The Superframe Format (SF), is also referred to as the D4 format. The requirement for associated signaling in frames 6 and 12 dictates that the frames be distinguishable. This leads to a multiframe structure consisting of 12 frames per superframe (SF) as shown in Figure 111 and Table 178. This structure of frames and multiframes is defined by the F-bit pattern. The F-bit is designated alternately as an Ft bit (terminal framing bit) or Fs bit (signalling framing bit). The Ft bit carries a pattern of alternating zeros and ones (101010) in odd frames that defines the boundaries so that one timeslot may be distinguished from another. The Fs bit carries a pattern of (001110) in even frames and defines the multiframe boundaries so that one frame may be distinguished from another. FIGURE 111. T1 SUPERFRAME PCM FORMAT
SignallingInformation B 8 Bits per Timeslot A Bit 7 During: Frame 12 Frame 6
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7
Ft TS TS TS TS or Ft -----------------TS ------------------TS 1 TS 2 TS 13 ------------------------------------ 24 Fs or 13 24 1 2 Fs
24 Timeslots per Frame Frame = 193 Bits
FR FR FR FR FR -----------------------------------FR 12 FR 1 FR 2 FR 7 FR 11 -----------------------------------1 7 11 2 12
Multiframe SF = 12 Frames
259
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 178: SUPERFRAME FORMAT
F-BITS FRAME BIT TERMINAL FRAMING FT 1 ---0 ---1 ---0 ---1 ---0 ---TERMINAL FRAMING FS ---0 ---0 ---1 ---1 ---1 ---0 BIT USE IN EACH TIMESLOT TRAFFIC 1-8 1-8 1-8 1-8 1-8 1-7 1-8 1-8 1-8 1-8 1-8 1-7 SIG ---------------8 ---------------8
REV. P1.0.1
SIGNALLING CHANNEL ---------------A ---------------B
1 2 3 4 5 6 7 8 9 10 11 12
0 193 386 579 772 965 1158 1351 1544 1737 1930 2123
260
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
14.5 T1 EXTENDED SUPERFRAME FORMAT (ESF) In Extended Superframe Format (ESF), as shown in Figure 112 and Table 179, the multiframe structure is extended to 24 frames. The timeslot structure is identical to D4 (SF) format. Robbed-bit signaling is accommodated in frame 6 (A-bit), frame 12 (B-bit), frame 18 (C-bit) and frame 24 (D-bit). The F-bit pattern of ESF contains three functions: 1. Framing Pattern Sequence (FPS), which defines the frame and multiframe boundaries. 2. Facility Data Link (FDL), which allows data such as error-performance to be passed within the T1 link. 3. Cyclic Redundancy Check (CRC), which allows error performance to be monitored and enhances the reliability of the receiver's framing algorithm.
FIGURE 112. T1 EXTENDED SUPERFRAME FORMAT
Signalling Information D C B A Bit 5 Bit 6 Bit 7 Bit 7 During: Frame 24 Frame 18 Frame 12 Frame 6
Bit 0
Bit 1
8 Bits per Timeslot Bit Bit Bit 2 3 4
CRC FD CRC L FD FPS L FP TS TS ----------------or ----------------o S 1 TS 2 TS Fs F r 2 1 s
TS -----------------TS -----------------13 13 -
TS TS 24 24
24 Timeslots per Frame Frame = 193 Bits
FR FR --------------------------------1 FR 2 FR 1 2 -
FR -----------------FR -----------------13 13 -
FR FR FR 24 FR 23 23 24
Multiframe ESF = 24 Frames
261
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 179: EXTENDED SUPERFRAME FORMAT
F-BITS FRAME BIT FPS 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 0 193 386 579 772 965 1158 1351 1544 1737 1930 2123 2316 2509 2702 2895 3088 3281 3474 3667 3860 4053 4246 4439 ---------0 ---------0 ---------1 ---------0 ---------1 ---------1 DL m ---m ---m ---m ---m ---m ---m ---m ---m ---m ---m ---m ---CRC ---C1 ---------C2 ---------C3 ---------C4 ---------C5 ---------C6 ------BIT USE IN EACH TIMESLOT TRAFFIC 1-8 1-8 1-8 1-8 1-8 1-7 1-8 1-8 1-8 1-8 1-8 1-7 1-8 1-8 1-8 1-8 1-8 1-7 1-8 1-8 1-8 1-8 1-8 1-7 SIG ---------------8 ---------------8 ---------------8 ---------------8
REV. P1.0.1
SIGNALLING CHANNEL 16 ---------------A ---------------B ---------------C ---------------D 4 ---------------A ---------------B ---------------C ---------------B 2 ---------------A ---------------B ---------------A ---------------A
NOTES: 1. 2. 3. 4.
FPS indicates the Framing Pattern Sequence (...001011...) DL indicates the 4kb/s Data Link with message bits m. CRC indicates the cyclic redundancy check with bits C1 to C6 Signaling options include 16 state, 4 state and 2 state.
262
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
14.6 T1 NON-SIGNALING FRAME FORMAT The Non-Signaling (N) framing format is a simplified version of the T1 super frame. The N-Frame consists of four frames with two Fs bits and two Ft bits. The Fs bits can be used as a proprietary 4kbps data link transmission. Signaling is not supported in this framing format. TABLE 180: NON-SIGNALING FRAMING FORMAT
F-BITS FRAME BIT TERMINAL FRAMING FT 1 ---0 ---TERMINAL FRAMING FS ---X ---X
1 2 3 4
0 193 386 579
14.7 T1 DATA MULTIPLEXED FRAMING FORMAT (T1DM) T1DM uses a similar framing structure as the SF (D4), such that the Fs and Ft bits on the individual frame boundaries remain the same. The differentiation between T1DM and SF is within the payload time slots. Time slot 24 cannot be used for data when configured for T1DM. Time slot 24 is dedicated for a special synchronization byte as shown in Figure 113. The Y-bit is to carry the status of the Yellow Alarm. The R-bit is dedicated for a remote signaling bit typically not used. However, the framer allows this bit to carry an HDLC message. Time slots 1 through 23 are used to carry the seven bit word from each of the 23 DS-0 signals. FIGURE 113. T1DM FRAME FORMAT
T1DM Frame
12 T1DM Frames per Multi-frame
F
Time Slot 1
Time Slots 2 through 23
Time Slot 24
Bit 1 Bit 2 Bit 3 Bit 4 Bit 5
Bit 6 Bit 7
C
1
0
1
1
1
Y
R
0
263
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
REV. P1.0.1
14.8 SLC-96 FORMAT (SLC-96) SLC framing mode allows synchronization to the SLC(R)96 data link pattern. This pattern described in Bellcore TR-TSY-000008, contains both signaling information and a framing pattern that overwrites the Fs bit of the SF framer pattern. See Table 181.
TABLE 181: SLC(R)96 FS BIT CONTENTS
FRAME # 2 4 6 8 10 12 14 16 18 20 22 24 FS BIT 0 0 1 1 1 0 0 0 1 1 1 C1 FRAME # 26 28 30 32 34 36 38 40 42 44 46 48 FS BIT C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 0 1 FRAME # 50 52 54 56 58 60 62 64 66 68 70 72 FS BIT 0 M1 M2 M3 A1 A2 S1 S2 S3 S4 1 0
NOTES: 1. The SLC(R)96 frame format is similar to that of SF as shown in Table 178 with the exceptions shown in this table. 2. C1 to C11 are concentrator bit fields. 3. M1 to M3 are Maintenance bit fields. 4. A1 and A2 are alarm bit fields. 5. S1 to S4 are line switch bit fields. 6. The Fs bits in frames 46, 48 and 70 are spoiler bit switch are used to protect against false multiframing.
264
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
ELECTRICAL CHARACTERISTICS (FRAMER BLOCK) ABSOLUTE MAXIMUMS
Power Supply......................................... -0.5V to +3.465V Storage Temperature ...............................-65C to 150C Operating Temperature Range.................-40C to 85C Supply Voltage ...................... GND-0.5V to +VDD + 0.5V
Power Dissipation TBGA Package........................... TBD Input Logic Signal Voltage (Any Pin) .........-0.5V to + 5.5V ESD Protection (HBM)...........................................>2000V Input Current (Any Pin) ...................................... + 100mA
DC ELECTRICAL CHARACTERISTICS
Test Conditions: TA = 25C, VDD = 3.3V + 5% unless otherwise specified SYMBOL IDD ILL VIL VIH VOL VOH IOC IIH IIL PARAMETER Power Supply Current Data Bus Tri-State Bus Leakage Current Input Low voltage Input High Voltage Output Low Voltage Output High Voltage Open Drain Output Leakage Current Input High Voltage Current Input Low Voltage Current -10 -10 10 10 2.0 0.0 2.4 -10 MIN. TYP. TBD +10 0.8 VDD 0.4 VDD MAX. UNITS mA A V V V V A A A VIH = VDD VIL = GND IOL = -1.6mA IOH = 40A CONDITIONS All Channels on
265
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
AC ELECTRICAL CHARACTERISTICS TRANSMIT FRAMER
Test Conditions: TA = 25C, VDD = 3.3V + 5% unless otherwise specified SYMBOL t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 PARAMETER TxMSYNC Setup Time (Falling Edge TxSERCLK) TxMSYNC Hold Time (Falling Edge TxSERCLK) TxSYNC Setup Time (Falling Edge TxSERCLK) TxSYNC Hold Time (Falling Edge TxSERCLK) TxSER Setup Time (Falling Edge TxSERCLK) TxSER Hold Time (Falling Edge TxSERCLK) Rising Edge of TxSERCLK to Rising Edge of TxCHCLK Rising Edge of TxCHCLK to Valid TxCHN[4:0] Data TxSIG Setup Time (Falling Edge TxSERCLK) TxSIG Hold Time (Falling Edge TxSERCLK) TxFRACT Setup Time (Falling Edge TxSERCLK) TxFRACT Hold Time (Falling Edge TxSERCLK) 5 1 5 1 MIN. 5 1 5 1 5 1 11 6 TYP. MAX. UNITS nS nS nS nS nS nS nS nS nS nS nS nS
REV. P1.0.1
CONDITIONS
FIGURE 114. FRAMER SYSTEM TRANSMIT TIMING DIAGRAM
t1
TxMSYNC
t2 t4
t3
TxSYNC
TxSERCLK
t5
t6 t7
TxSER
TxCHCLK (Output)
t8
TxCHN[4:0] (Output)
t9
TxCHN_0 (TxSIG) A
t10
B C D
t11
TxCHN_1 (TxFRACT)
t12
266
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
AC ELECTRICAL CHARACTERISTICS RECEIVE FRAMER
Test Conditions: TA = 25C, VDD = 3.3V + 5% unless otherwise specified SYMBOL RxSERCLK as an Output t13 t14 t15 t16 t17 Rising Edge of RxSERCLK to Rising Edge of RxCASYNC Rising Edge of RxSERCLK to Rising Edge of RxCRCSYNC Rising Edge of RxSERCLK to Rising Edge of RxSYNC Rising Edge of RxSERCLK to Rising Edge of RxSER Rising Edge of RxSERCLK to Rising Edge of Valid RxCHN[4:0] data 4 4 4 6 6 nS nS nS nS nS PARAMETER MIN. TYP. MAX. UNITS CONDITIONS
RxSERCLK as an Input t18 t19 t20 t21 t22 Rising Edge of RxSERCLK to Rising Edge of RxCASYNC Rising Edge of RxSERCLK to Rising Edge of RxCRCSYNC Rising Edge of RxSERCLK to Rising Edge of RxSYNC Rising Edge of RxSERCLK to Rising Edge of RxSER Rising Edge of RxSERCLK to Rising Edge of Valid RxCHN[4:0] data 9 9 9 11 11 nS nS nS nS nS
FIGURE 115. FRAMER SYSTEM RECEIVE TIMING DIAGRAM (RXSERCLK AS AN OUTPUT)
t13
RxCRCSYNC
t14
RxCASYNC
t15
RxSYNC RxSERCLK (Output)
t16
RxSER
t17
RxCHN[4:0]
267
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
FIGURE 116. FRAMER SYSTEM RECEIVE TIMING DIAGRAM (RXSERCLK AS AN INPUT)
t18
RxCRCSYNC
REV. P1.0.1
t19
RxCASYNC
t20
RxSYNC RxSERCLK (Input)
t21
RxSER
t22
RxCHN[4:0]
268
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
AC ELECTRICAL CHARACTERISTICS TRANSMIT OVERHEAD FRAMER
Test Conditions: TA = 25C, VDD = 3.3V + 5% unless otherwise specified SYMBOL t23 t24 t25 PARAMETER TxSYNC Setup Time (Falling Edge TxSERCLK) TxSYNC Hold Time (Falling Edge TxSERCLK) Rising Edge of TxSERCLK to TxOHCLK MIN. 5 1 11 TYP. MAX. UNITS nS nS nS CONDITIONS
FIGURE 117. FRAMER SYSTEM TRANSMIT OVERHEAD TIMING DIAGRAM
t23 TxSYNC
t24
TxSERCLK t25 TxOHCLK
269
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
AC ELECTRICAL CHARACTERISTICS RECEIVE OVERHEAD FRAMER
Test Conditions: TA = 25C, VDD = 3.3V + 5% unless otherwise specified SYMBOL RxSERCLK as an Output t26 t27 t28 Rising Edge of RxSERCLK to Rising Edge of RxSYNC Rising Edge of RxSERCLK to Rising Edge of RxOHCLK Rising Edge of RxSERCLK to Rising Edge of RxOH 4 7 7 nS nS nS PARAMETER MIN. TYP. MAX. UNITS
REV. P1.0.1
CONDITIONS
RxSERCLK as an Input t29 t30 t31 Rising Edge of RxSERCLK to Rising Edge of RxSYNC Rising Edge of RxSERCLK to Rising Edge of RxOHCLK Rising Edge of RxSERCLK to Rising Edge of RxOH 9 12 12 nS nS nS
FIGURE 118. FRAMER SYSTEM RECEIVE OVERHEAD TIMING DIAGRAM (RXSERCLK AS AN OUTPUT)
t26
RxSYNC RxSERCLK (Output)
t27
RxOHCLK
t28
RxOH
FIGURE 119. FRAMER SYSTEM RECEIVE OVERHEAD TIMING DIAGRAM (RXSERCLK AS AN INPUT)
RxOH Interface with RxSERCLK as an Input
t29
RxSYNC RxSERCLK (Input)
t30 t31
RxOHCLK RxOH
270
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
ELECTRICAL CHARACTERISTICS
TABLE 182: XRT83L38 POWER CONSUMPTION
VDD=3.3V5%, TA=25C, UNLESS OTHERWISE SPECIFIED MODE E1 SUPPLY VOLTAGE 3.3V IMPEDANCE 75
TERMINATION
TRANSFORMER RATIO TYP. RECEIVER TRANSMITTER 1:1 1:2 TBD TBD TBD TBD TBD TBD TBD mW mW mW mW mW mW mW MAX. UNIT
RESISTOR Internal
TEST CONDITIONS 50% "1's" 100% "1's" 50% "1's" 100% "1's" 50% "1's" 100% "1's" All transmitters and receivers off
E1
3.3V
120
Internal
1:1
1:2
T1
3.3V
100
Internal
1:1
1:2
---
3.3V
---
---
---
---
271
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 183: E1 RECEIVER ELECTRICAL CHARACTERISTICS
VDD=3.3V5%, TA= -40 TO 85C, UNLESS OTHERWISE SPECIFIED PARAMETER Receiver loss of signal: Number of consecutive zeros before RLOS is set Input signal level at RLOS RLOS De-asserted Receiver Sensitivity (Short Haul with cable loss) 15 12.5 11 MIN. TYP. MAX. UNIT
REV. P1.0.1
TEST CONDITIONS Cable attenuation @1024kHz
32 20 dB % ones dB With nominal pulse amplitude of 3.0V for 120 and 2.37V for 75 application. With -18dB interference signal added. With nominal pulse amplitude of 3.0V for 120 and 2.37V for 75 application. With -18dB interference signal added. ITU-G.775, ETSI 300 233
Receiver Sensitivity (Long Haul with cable loss)
0
43
dB
Input Impedance Input Jitter Tolerance: 1 Hz 10kHz-100kHz Recovered Clock Jitter Transfer Corner Frequency Peaking Amplitude Jitter Attenuator Corner Frequency (-3dB curve) (JABW=0) (JABW=1) Return Loss: 51kHz - 102kHz 102kHz - 2048kHz 2048kHz - 3072kHz
13
k
37 0.2
UIpp UIpp
ITU G.823
-
36 -0.5
kHz dB
ITU G.736
-
10 1.5
-
Hz Hz
ITU G.736
14 20 16
-
-
dB dB dB
ITU-G.703
272
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 184: T1 RECEIVER ELECTRICAL CHARACTERISTICS
VDD=3.3V5%, TA=-40 TO 85C, UNLESS OTHERWISE SPECIFIED PARAMETER MIN. TYP. MAX. UNIT TEST CONDITIONS
Receiver loss of signal: Number of consecutive zeros before RLOS is set Input signal level at RLOS RLOS Clear Receiver Sensitivity (Short Haul with cable loss) Receiver Sensitivity (Long Haul with cable loss) Normal Extended Input Impedance Jitter Tolerance: 1Hz 10kHz - 100kHz Recovered Clock Jitter Transfer Corner Frequency Peaking Amplitude Jitter Attenuator Corner Frequency (-3dB curve) Return Loss: 51kHz - 102kHz 102kHz - 2048kHz 2048kHz - 3072kHz 160 175 190
15 12.5 12
20 -
-
dB % ones dB
Cable attenuation @772kHz ITU-G.775, ETSI 300 233 With nominal pulse amplitude of 3.0V for 100 termination
0 0 13 36 45 dB dB k With nominal pulse amplitude of 3.0V for 100 termination
138 0.4
-
-
UIpp
AT&T Pub 62411
-
9.8
0.1
KHz dB -Hz
TR-TSY-000499
6
AT&T Pub 62411
-
20 25 25
-
dB dB dB
TABLE 185: E1 TRANSMIT RETURN LOSS REQUIREMENT
RETURN LOSS FREQUENCY G.703/CH-PTT 51-102kHz 102-2048kHz 2048-3072kHz 8dB 14dB 10dB ETS 300166 6dB 8dB 8dB
273
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
TABLE 186: E1 TRANSMITTER ELECTRICAL CHARACTERISTICS
VDD=3.3V5%, TA=-40 TO 85C, UNLESS OTHERWISE SPECIFIED PARAMETER AMI Output Pulse Amplitude: 75 Application 120 Application Output Pulse Width Output Pulse Width Ratio Output Pulse Amplitude Ratio Jitter Added by the Transmitter Output Output Return Loss: 51kHz -102kHz 102kHz-2048kHz 2048kHz-3072kHz 2.13 2.70 224 0.95 0.95 2.37 3.00 244 0.025 2.60 3.30 264 1.05 1.05 0.05 V V ns UIpp ITU-G.703 ITU-G.703 MIN. TYP. MAX. UNIT
REV. P1.0.1
TEST CONDITIONS Transformer with 1:2 ratio and 9.1 resistor in series with each end of primary.
Broad Band with jitter free TCLK applied to the input.
8 14 10
-
-
dB dB dB
ETSI 300 166, CHPTT
TABLE 187: T1 TRANSMITTER ELECTRICAL CHARACTERISTICS
VDD=3.3V5%, TA=-40 TO 85C, UNLESS OTHERWISE SPECIFIED PARAMETER AMI Output Pulse Amplitude: Output Pulse Width Output Pulse Width Imbalance Output Pulse Amplitude Imbalance Jitter Added by the Transmitter Output Output Return Loss: 51kHz -102kHz 102kHz-2048kHz 2048kHz-3072kHz MIN. 2.4 338 TYP. 3.0 350 0.025 MAX. 3.60 362 20 +200 0.05 UNIT V ns mV UIpp TEST CONDITIONS Use transformer with 1:2.45 ratio and measured at DSX-1 ANSI T1.102 ANSI T1.102 ANSI T1.102 Broad Band with jitter free TCLK applied to the input.
-
15 15 15
-
dB dB dB
274
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
FIGURE 120. ITU G.703 PULSE TEMPLATE
269 ns (244 + 25)
20%
10%
V = 100%
10%
20%
194 ns (244 - 50)
Nominal pulse
50%
244 ns
10%
488 ns (244 + 244) Note - V corresponds to the nominal peak value.
TABLE 188: TRANSMIT PULSE MASK SPECIFICATION
Test Load Impedance Nominal Peak Voltage of a Mark Peak voltage of a Space (no Mark) Nominal Pulse width Ratio of Positive and Negative Pulses Imbalance 75 Resistive (Coax) 2.37V 0 + 0.237V 244ns 0.95 to 1.05 120 Resistive (twisted Pair) 3.0V 0 + 0.3V 244ns 0.95 to 1.05
20%
275
10%
0%
10%
10%
219 ns (244 - 25)
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
FIGURE 121. DSX-1 PULSE TEMPLATE (NORMALIZED AMPLITUDE)
REV. P1.0.1
TABLE 189: DSX1 INTERFACE ISOLATED PULSE MASK AND CORNER POINTS
MINIMUM CURVE TIME (UI) -0.77 -0.23 -0.23 -0.15 0.0 0.15 0.23 0.23 0.46 0.66 0.93 1.16 NORMALIZED AMPLITUDE -.05V -.05V 0.5V 0.95V 0.95V 0.9V 0.5V -0.45V -0.45V -0.2V -0.05V -0.05V TIME (UI) -0.77 -0.39 -0.27 -0.27 -0.12 0.0 0.27 0.35 0.93 1.16 MAXIMUM CURVE NORMALIZED AMPLITUDE .05V .05V .8V 1.15V 1.15V 1.05V 1.05V -0.07V 0.05V 0.05V
276
XRT86L30 SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
TABLE 190: AC ELECTRICAL CHARACTERISTICS
VDD=3.3V5%, TA=25C, UNLESS OTHERWISE SPECIFIED PARAMETER SYMBOL MIN. 40 TYP. 50 MAX. 60 UNITS % ppm
MCLKIN Clock Duty Cycle MCLKIN Clock Tolerance
277
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
PRELIMINARY
ORDERING INFORMATION
PART # XRT86L30IV PACKAGE 128 Pin TQFP(14x20x1.4mm)
REV. P1.0.1
OPERATING TEMPERATURE RANGE -40C to +85C
PACKAGE DIMENSIONS
D D1 102 65
103
64
E1
E
128
39
A2
1 e B
38
A C A1 L
Note: The control dim ensions are the millim eter column
INCHES SYMBOL A A1 A2 B C D D1 E E1 e L
MILLIMETERS MAX MIN 1.40 0.05 1.35 0.17 0.09 21.80 19.90 15.80 13.90 MAX 1.60 0.15 1.45 0.27 0.20 22.20 20.10 16.20 14.10
MIN 0.0551 0.0020 0.0531 0.0067 0.0035 0.8583 0.7835 0.6220 0.5472
0.0630 0.0059 0.0571 0.0106 0.0079 0.8740 0.7913 0.6378 0.5551
0.0197 BSC 0.0177 0o 0.0295 7o
0.50 BSC 0.45 0o 0.75 7o
278
XRT86L30
SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.1
PRELIMINARY
REVISION HISTORY
REVISION # P1.0.0 P1.0.1 DATE 03/26/04 05/14/04 DESCRIPTION First release of the XRT86L30 preliminary datasheet. Added AC Electrical Characteristics. Added Payload Loopback Description.
NOTICE EXAR Corporation reserves the right to make changes to the products contained in this publication in order to improve design, performance or reliability. EXAR Corporation assumes no responsibility for the use of any circuits described herein, conveys no license under any patent or other right, and makes no representation that the circuits are free of patent infringement. Charts and schedules contained here in are only for illustration purposes and may vary depending upon a user's specific application. While the information in this publication has been carefully checked; no responsibility, however, is assumed for inaccuracies. EXAR Corporation does not recommend the use of any of its products in life support applications where the failure or malfunction of the product can reasonably be expected to cause failure of the life support system or to significantly affect its safety or effectiveness. Products are not authorized for use in such applications unless EXAR Corporation receives, in writing, assurances to its satisfaction that: (a) the risk of injury or damage has been minimized; (b) the user assumes all such risks; (c) potential liability of EXAR Corporation is adequately protected under the circumstances. Copyright 2004 EXAR Corporation Datasheet May 2004. Reproduction, in part or whole, without the prior written consent of EXAR Corporation is prohibited. 279


▲Up To Search▲   

 
Price & Availability of XRT86L30

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X